News for hackers. Stuff that matters.
Re:Ask HN: Why Would I Write Web Apps In Anything Besides PHP? by riledhel on Thursday May 12, 2011 @08:09PM (#2542901)
cleaner code is just a matter of coding standars, not a language feature.
Re:Ask HN: Why Would I Write Web Apps In Anything Besides PHP? by ionrock on Thursday May 12, 2011 @09:13PM (#2543079)
I agree that for the most part this is correct. But, I also would argue that some aspects of a language can lend itself to more organized code. The include statement is one example where I think PHP doesn't help keep code organized. An actual module system with packages helps a good deal here.
Re:Ask HN: Why Would I Write Web Apps In Anything Besides PHP? by wccrawford on Thursday May 12, 2011 @08:36PM (#2542970)
As long as your talking about your own code, that's fine. However, a lot of people have found that the majority of code they encounter in the wild is really, really ugly.

So if you look at it from that angle, it makes sense to code in a language that tends to have pretty code, rather than one that doesn't.

Re:Ask HN: Why Would I Write Web Apps In Anything Besides PHP? by angrycoder on Thursday May 12, 2011 @08:56PM (#2543026)
unless you are talking about python, then readability is in fact part of the syntax.