Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

PHP is very easy to read, very easy to pick up. However, it is full of bizarre edge cases. It seems like every function definition is followed by at least 3 comments saying "Just so you know, you will try to do this - > PHP actually does this."

Alternately there are 5 comments showing boilerplate for the most common use case, and none of them are quite what I'm looking for.

Compare to Python, 9 times out of 10, the boilerplate 4-line example (in the primary documentation) is exactly what I'm looking for.

I think PHP might actually have a good language lurking inside of it, but someone would need to rewrite most of the standard functions and classes by going through the comments on their documentation and asking "Why doesn't this function solve the problem this bit of boilerplate solves?"



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

Search: