No one can match this guy's passionate hate for PHP. I have to admire the level of OCD required to exhaustively and thoroughly document that hatred. ;)
http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
I cant even say whats wrong with PHP, because okay. Imagine you have uh, a toolbox. A set of tools. Looks okay, standard stuff in there.
You pull out a screwdriver, and you see its one of those weird tri-headed things. Okay, well, thats not very useful to you, but you guess it comes in handy sometimes.
You pull out the hammer, but to your dismay, it has the claw part on both sides. Still serviceable though, I mean, you can hit nails with the middle of the head holding it sideways.
You pull out the pliers, but they dont have those serrated surfaces; its flat and smooth. Thats less useful, but it still turns bolts well enough, so whatever.
And on you go. Everything in the box is kind of weird and quirky, but maybe not enough to make it completely worthless. And theres no clear problem with the set as a whole; it still has all the tools.
Now imagine you meet millions of carpenters using this toolbox who tell you well hey whats the problem with these tools? Theyre all Ive ever used and they work fine! And the carpenters show you the houses theyve built, where every room is a pentagon and the roof is upside-down. And you knock on the front door and it just collapses inwards and they all yell at you for breaking their door.
Thats whats wrong with PHP.
http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
Quote:
I cant even say whats wrong with PHP, because okay. Imagine you have uh, a toolbox. A set of tools. Looks okay, standard stuff in there.
You pull out a screwdriver, and you see its one of those weird tri-headed things. Okay, well, thats not very useful to you, but you guess it comes in handy sometimes.
You pull out the hammer, but to your dismay, it has the claw part on both sides. Still serviceable though, I mean, you can hit nails with the middle of the head holding it sideways.
You pull out the pliers, but they dont have those serrated surfaces; its flat and smooth. Thats less useful, but it still turns bolts well enough, so whatever.
And on you go. Everything in the box is kind of weird and quirky, but maybe not enough to make it completely worthless. And theres no clear problem with the set as a whole; it still has all the tools.
Now imagine you meet millions of carpenters using this toolbox who tell you well hey whats the problem with these tools? Theyre all Ive ever used and they work fine! And the carpenters show you the houses theyve built, where every room is a pentagon and the roof is upside-down. And you knock on the front door and it just collapses inwards and they all yell at you for breaking their door.
Thats whats wrong with PHP.
No comments:
Post a Comment