Hacker News new | past | comments | ask | show | jobs | submit login

What's bad about PHP is choice.

There are so many languages that use a more elegant syntax, reducing the time (and pain) it takes to prevent and find errors, and add functionality.

Given that there can be both well and badly written PHP, other good language choices in general have a consistent and/or clear choice as it comes to syntax (and less keywords to memorize).

Some choices of dynamic, loosely typed languages are:

Ruby, while perl-inspired provides some very pleasant syntax.

While Python is less pretty, there is generally one good way of doing things. Python code is also often consistent across developers, even if its at a mostly superficial level.

PHP is probably more pleasant to work with than ASP/VBScript, but in 2009, with other choices, if you don't have to use PHP and don't mind trying something new, why don't you?




I agree, but for the record syntax choice is pretty arbitrary; I find Python quite nice to look at, while Ruby looks like a kludge.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: