3 ms·
> But no one other than PHP programmers seems to have anything good to say about PHP. The people least familiar with the language have the most negative to say
by wvenable 14y ago
> But no one other than PHP programmers seems to have anything good to say about PHP.
The people least familiar with the language have the most negative to say about it. Making fun of PHP is pretty much a fad -- this particular topic, about htmlspecialchars(), I heard originally 5 years ago and it just cycles around and around. Even the most famously quoted articles about PHP's shortcomings are typically at least 50% flat-out wrong and 25% opinion.
That being said, PHP has a fair share of warts -- it's a language with a long history and rapid change with little overall direction.
- kstrauser 14y agoMy experience is to the contrary: the people who've had to use it at work (as opposed to voluntarily for their own projects) are the ones who despise it most. It looks pretty neat at first, after all. It's only when you've dug deeply into it - and have experience in other languages to compare it to - that you genuinely start to loathe it.
- mikeash 14y agoI criticized PHP for years without ever really using it. Then I finally did some real work in the language. Did my opinion change from the exposure? You bet it did. Turns out that PHP is even worse than I had thought. I know plenty of people experienced with PHP who actively criticize it. People who have never used it generally tend not to care about it.
- brendoncrawford 14y ago> The people least familiar with the language have the most negative to say about it My 12 years of experience with PHP would beg to differ. It is, by ANY standard, a terrible language. In fact, it's primary defense of being "convenient" is not even true. Most developers would probably get a Django site up and running in the same amount of time it would take them to get a Cake or CodeIgniter site up and running.