|
|
|
|
|
by anonyfox
4572 days ago
|
|
The only advantage of using PHP in my eyes is: incredible cheap and hassle-free hosting for beginners. If you change something when introducing HHVM to the masses, then you would have a game-breaker. If you can afford/achieve anything better than "drag'n'drop" your "index.php" there, and open your browser to "test if it works", do it. Except, of course, you have to maintain tons of legacy stuff already written in PHP. |
|
Well, clearly the engineers working on Facebook's PHP (and several other large projects, from Yahoo! to Wordpress.com) aren't "begineers" neither looking for "cheap, hassle-free hosting".
I don't buy the "it's so crap, it's ONLY used because of cheap hosting" argument.
It's also a pragmatic language, with tons of libraries and features for web use.
So, it might be far from perfect, but than again, Javascript is far from perfect too, C++ is also flawed and Java has tons of bad decisions in its design (and culture). Still, those are some of the more widely used languages.