[BNM] 1, 2, 3, 4, I declare a language war ! (was Hot news: Microsoft buys OScommerce!)

Wayne Douglas wayne at codingvista.com
Fri Jul 6 13:45:06 BST 2007


Mark Ng wrote:
> The solid majority of available open-source code written in PHP is
> absolute dog crap.  As for security flaws, most (most, not all)
> security flaws in PHP applications reflect the general quality of code
> written in PHP, rather than PHP itself (there have been one or two
> security flaws in PHP itself over the years, but not inordinately
> large numbers).
>
> Also, .NET and PHP aren't equal comparisons - one is a framework,
> another is a language.
>
> Eclipse is horrid.  Lots of great features, but a horrid UI and I've
> ranted about instability of various JVM's on many other occasions.
>
> Textmate is my favourite means of writing PHP code.  the presence of
> textmate is the one thing that stopped me returning my macbook and
> buying a dell instead about 3 months ago when I had all sorts of
> problems with it.
> [...]
The other thing I like about ASP.NET is the fact that you would have to 
go out of your way to write crap - or be seriously lazy. The fact that, 
unless you wanted to do some rewriting of the wheel, you are pretty much 
forced to use an MVC approach to writing code, which forces nice, 
modular, loosely coupled, consistent code.

.NET is now a mature framework, coupled with C# (and all the funky 
language enhancements in .NET 3.5) you have a stable, productive, high 
performance set of tools. I'm not saying it's as good as say Java on 
some huge mainframe it probably never will be.

Extending ASP.NET using providers etc means everyone talks the same 
language, in the same style and the learning curve is fast but you don't 
lose the expressiveness as the lower level parts of the framework are 
there, just not at the level you'd enter it in.

As with any OS project, PHP lacks this structure - which is 
understandable as it's been contributed to by so many developers - like 
the help docs in Linux - a rabbit hole I've found myself in many a time.

PHP - what I've seen of it, looks like ASP classic, tags with code in 
the html etc.

I don't like the monopolization as much as anyone - which is why I'm 
taking up MONO. But even then - I'm holding back as I know that has 
serious flaws. Maybe get back into Java - as far as I know you can 
implement MVC and DI through Spring?

Just my (admittedly biased) view.

w://








More information about the BNMlist mailing list. Powered by Wessex Networks