Skip to content

Instantly share code, notes, and snippets.

@hipertracker
Last active September 4, 2015 01:05
Show Gist options
  • Save hipertracker/240139 to your computer and use it in GitHub Desktop.
Save hipertracker/240139 to your computer and use it in GitHub Desktop.
"PHP: a fractal of bad design"
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
"PHP Sucks, But It Doesn't Matter"
http://www.codinghorror.com/blog/archives/001119.html
"PHP cannot be fixed. I've said it before and I'll say it again:
its developers don't have a clue about language design,
have no interest in whatever happened in the last 40 years
of language design, and have no concept of security.
It's a kitchen-sink-and-your-mom sort of language like VB6,
with no architecture, no philosophy, and no concept of what
constitutes good programming practices.
PHP - single-threaded, feature-poor, inconsistent language.
FB is stuck with PHP because it was chosen in 2004.
(http://www.infoq.com/presentations/Evolution-of-Code-Design-at-Facebook,
Nick Schrock)
If I may refer to some examples, look at what PHP's creator,
Rasmus Lerdof, considers to be good code:
http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html
The syntax is brain-dead and unfixable. It looks ugly to the eye
and unorganized. Functions don't follow any convention on order
parameters or naming. Classes are a hack that try to take from Java,
possibly the worst option available. There is no metaprogramming
to speak of.
You can't fix PHP. The only hope is to nuke it from orbit."
Source: http://www.reddit.com/r/programming/comments/a6ffj/php_vs_python/
Others:
* "PHP is a minor evil perpetrated and created by incompetent amateurs, whereas Perl is a great and insidious evil perpetrated by skilled but perverted professionals." (John Ribbens, http://www.defprogramming.com/quote/php-is-a-minor-evil-perpetrated-and-created-by-incompetent-amateurs-whereas-perl-is-a-great-and-in/)
* "How to make PHP fast? "Well, you can’t" was his (Rasmus Lerdorf) quick answer."
http://www.sitepoint.com/blogs/2008/08/29/rasmus-lerdorf-php-frameworks-think-again/
* PHP 6 Pissing in the Wind http://philsturgeon.co.uk/blog/2013/01/php-6-pissing-in-the-wind
* PHP: a fractal of bad design http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
* Small flame (Polish): http://webhosting.pl/Nowy.fork.infusion.PHP.czy.webdeweloperzy.docenia.nowe.funkcje.i.poprawione.usability#comment_46642
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment