Just asking: why do most programmers dislike PHP?: Interesting debate over at Reddit about why PHP is “disliked” among “most developers” (the veracity of that last sentence is up for debate).
Lots of good argument, including this fun rant:
PHP been hacked together in a half-assed way by a community of probably smart but unorganized or inexperienced people who have collectively catered to the absolute laziest crop of developers who think that using a shitty language every day for many years is a good tradeoff for the few days they’d have to spend learning to set up something better than the Fisher-Price crap that’s already on their web host. PHP has no known advantage other than being the path of least resistance, which is a strategic advantage but of course not an actual advantage.
I could get into specifics, but the best way to tell it is that from experience with many languages comes the conclusion that PHP is horrible from an intuitive sense that is more than the sum of the individual flaws with it. Not that some of those flaws aren’t big, but it’s important to note that these flaws add up to a culture of poor quality that feeds back on itself.
Your time with PHP is one compromise after another, and for some reason I’ve never understood there are apparently many people who learned PHP as their one language, cling to it, and defend all of its flaws instead of seeking out better languages, a category into which most of them fall.
You can replace the word PHP with MySQL and this post is still accurate. Half of the old “LAMP” is dead and Python and PostgreSQL are the future.