News for hackers. Stuff that matters.
Re:PHP Must Die by jacquesm on Saturday January 09, 2010 @09:38PM (#1042508)
PHP is used by plenty of people that (at least think they do, looking at myself ;) ) do understand programming, they just use it because they literally got used to it.

The perl community was pretty abrasive when I first looked in to it, the PHP community was the opposite so I ended up programming a large amount of stuff in PHP.

But before that I already coded my way around for about 15 years or so in lots of other languages, projects including cad systems, low level communcations drivers for weird bits of hardware, an OS and a whole slew of other stuff.

Basically my take on it was 'it's good enough for what it's for', web programming and making money.

To this day a good part of http://ww.com/ (possibly nsfw so don't go there if you are on your boss' line) is written in PHP, I've recently gone over the whole thing in order to clean it up readying it for a port to something a little bit more clean.

It was quite amusing to see how many hoops we had to jump through 11 years ago when it was first built compared to how easy you could do some of that today.

For plenty of people it is just a means to earn a living, language aesthetics and purity or expressiveness don't enter in to the equation, it is whatever their boss tells them to use, C#, PHP or Java.

And perl definitely suffered because of the attitude perl aficionados take, both with respect to other languages as well as to those that do not fully grok perl just yet.

Community is a huge part of any programming environment, possibly even more important than the language itself.

Re:PHP Must Die by jrockway on Saturday January 09, 2010 @09:51PM (#1042527)
Community is important, and that is the main reason why I tolerate Perl's various annoyances. There are simply a lot of Perl programmers that give me excellent code for free (see http://github.com/languages) and that makes it all worthwhile.

The same does not appear to be true of PHP. PHP's community is more talkative ("How to cut-n-paste code to hash passwords"), where Perl's is more programming-oriented ("Authen::Passphrase"). As a programmer, I prefer to stick with the programming-oriented community.

Re:PHP Must Die by plinkplonk on Sunday January 10, 2010 @07:18AM (#1042975)
"The perl community was pretty abrasive when I first looked in to it, the PHP community was the opposite so I ended up programming a large amount of stuff in PHP."

Interesting how the "feel" of a community dictates the choice of language. I thought I'd be immune to this effect after programming for 15 years but I recently chose not to use Clojure on an (eventually to be opensourced) project because of the "dumb fanboi" tone of a part of its community.(eg: http://www.bestinclass.dk/index.php/2009/10/python-vs-clojur... HN reaction: http://news.ycombinator.com/item?id=881642).

I chose to use Haskell instead (I like the "vibe" of its mailing lists and irc and blog posts and so on) and have been feeling a smidgen guilty about dismissing Clojure (which I think is really nice - I admire Rich Hickey's tech skills and design sensibility) for its community's stridency.

Seems I am not alone in my weirdness!