Why is PHP the best language in the world, then you say, fortunately where?
This issue has been closed due to:
Reply content:
Why is PHP the best language in the world, then you say, fortunately where?
"Why is it that the programmer doesn't say C + +/Python/haskell or any other language is the best in a joke and that PHP is the best?" It's not funny to say "best" in any other language.
Any programmer with more than two non-PHP programming languages and some common sense will instinctively realize the problem of PHP, there was a summary of the article in this: Php:a fractal of Bad Design/fuzzy notepad (translated version is visible: five major damage, Full parsing of PHP's bad design, but bad translation
Lichen PHP's rundown, it's far-reaching. If you have no time to read the long article, then I will tell you a simple example to illustrate how strange php: PHP's core function name is very inconsistent, there are "strptime" such C function name, there are "nl2br" such shorthand, but also have " htmlspecialchars"such a long name.
It was later discovered that this inconsistency was not accidental, but that when PHP was a small language with less than 100 functions, its authors decided to use the number of characters in the function name-as a function hash (!). )。 As a result of this foolish decision, PHP's function name length should be as long as possible to rank, evenly distributed, the impact has been continued today [0].
There are even good people who will be in the above article:
You pull out the hammer, but to your dismay, it has the claw part on both sides.
This sentence seriously, made a PHP hammer:
Imagine you walk into the brewery of the Hardware Guild and see the various tools on the wall hanging from nails to electric screwdrivers as displays, and you're looking at one of those hammers and saying, "Ah, this is the best tool", what do you think the people in the pub are going to react to?
[0] See http://news.php.net/php.internals/70691
Excerpted from http://www.zhihu.com/question/26498147
Who told you PHP is the best language in the world?
Wrote a few years of PHP, saying it benefits:
- Simple, easy to learn, less concept, no multithreading ah, asynchronous and so on.
- Help manuals are handy, and the PHP documentation is the best manual I've ever used. Convenient inquiry, Detailed introduction.
- Arrays are cool to use.
- Simple deployment. You just have to drop a file when you're done updating.