I cannot possibly hope to express the reasons I dislike PHP better than this comprehensive article: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de... An excerpt: > I can’t even say what’s wrong with PHP, because— okay. Imagine you have uh, a toolbox. A set of tools. Looks okay, standard stuff in there. > You pull out a screwdriver, and you see it’s one of those weird tri-headed things. Okay, well, that’…
Really? I've heard all these ridiculous analogies but for some reason no one's every written up actual PHP examples to explain why this is true (Most of the examples in that link are weird things I've never seen anyone actually do). I've spent the last 8 months writing a fairly complex application as a REST API entirely in PHP and I can't say that I've ever run into any weird scenarios where I think to myself, "Damn,…
There's lots of example code, inline, but much of the article is about missing/broken features and artifacts of the design that make it unfriendly to wetware.