This just in, people still use the most popular programming language on the web, the size of which makes all other web programming languages niche choices by comparison.
Honestly, I don't understand what all the complaining is about. It just seems like a lot of language snobbery to me. I used PHP on my small website because every cheap web host out there supports it, there's tons of example code, and it's easy to learn if you have a C/C++ background. It seems to work just fine. Is it suitable for a gigantic website like Facebook? I have no idea really, and I don't care, just like I don't care that bash shell scripts probably aren't suitable for writing, for instance, a
Honestly, I don't understand what all the complaining is about. It just seems like a lot of language snobbery to me.
As someone who works with PHP every working day: It's a language that wasn't designed, it was congealed. Its lack of design is very evident as soon as you start trying to build anything interesting with it. It was something that was created to solve a short-term problem for one guy, and more-or-less accidentally grew into what it is today. What structures it does have are poor attempts at imitating other languages.
Some examples of what went wrong: - Arrays and hashes are the same data structure, for no readi
Its pretty interesting reading. However he used a carpenter analogy which renders any argument invalid. If he had used a car analogy I would have believed everything he's written.
DEC diagnostics would run on a dead whale.
-- Mel Ferentz
Facebook? (Score:0, Insightful)
People still use PHP outside of Facebook? And, honestly, they're not even really using it with their cross compilers.
Re: (Score:5, Interesting)
Re: (Score:5, Insightful)
Honestly, I don't understand what all the complaining is about. It just seems like a lot of language snobbery to me. I used PHP on my small website because every cheap web host out there supports it, there's tons of example code, and it's easy to learn if you have a C/C++ background. It seems to work just fine. Is it suitable for a gigantic website like Facebook? I have no idea really, and I don't care, just like I don't care that bash shell scripts probably aren't suitable for writing, for instance, a
Re: (Score:5, Insightful)
Honestly, I don't understand what all the complaining is about. It just seems like a lot of language snobbery to me.
As someone who works with PHP every working day: It's a language that wasn't designed, it was congealed. Its lack of design is very evident as soon as you start trying to build anything interesting with it. It was something that was created to solve a short-term problem for one guy, and more-or-less accidentally grew into what it is today. What structures it does have are poor attempts at imitating other languages.
Some examples of what went wrong:
- Arrays and hashes are the same data structure, for no readi
Re:Facebook? (Score:5, Interesting)
Someone did go on, and on, and on, on this topic. Interesting read that makes never want to go near PHP again:
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ [veekun.com]
Re: (Score:2)
And don't forget his follow-up: http://me.veekun.com/blog/2012/07/28/quick-doesnt-mean-dirty/ [veekun.com]
Unicode (Score:2)
Please tell us how PHP rocks to handle Unicode...
Re: (Score:2)