News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Volker Dusch:
Please stop pretending PHP is a good language
October 18, 2013 @ 11:57:09

In Volker Dusch's latest post he makes a suggestion to the PHP community as a whole - stop pretending PHP is a good language and admit its flaws where it has them.

I'm currently observing two kinds of discussions around the core PHP language. A couple of folks say "Sure the language sucks but look at all the amazing stuff we build with it!" and the other camp goes "Look at all the amazing stuff we build - The language can't be that bad!". The main point here is that the PHP applications that have been created over the years are incredible. [...] The astonishing dominance of PHP in the Web doesn't come from the fact that it is a good language, it comes from the fact that it allowed people to create and maintain things that are really useful.

He gets into some of the "it's not okay when..." kinds of things that PHP allows, things like:

  • Presenting the user with the "White Page of Death" when the script dies because of an error
  • Output of basic operations could depend on the environment it's run in
  • Problems with type hinting
  • Not being able to talk to two backend sources at once

He also suggests a few things that you can do to help the situation including not sending angry emails to the internals mailing list and contribute back with something useful instead (like RFCs).

The claim that "PHP is this awesome enabling language that let's you focus on doing awesome things" doesn't hold up when all of the gains are wasting dealing with the obtuse errors.
0 comments voice your opinion now!
pretend good language opinion problems

Link: http://edorian.github.io/2013-10-19-Please-stop-pretending-PHP-is-a-good-language/

blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Blueprint PHP application?

Brandon Savage's Blog: Adapting The Joel Test To Web Development

Rafael Dohms' Blog: PHP Benelux 2012 Learning lessons

PHP Manual Masterpieces: PHP 2.0: A Review in Retrospect

CNet.com: PHP and Perl crashing the enterprise party


Community Events

Don't see your event here?
Let us know!


application composer framework podcast opinion voicesoftheelephpant community release api version symfony2 example introduction laravel library performance interview series php7 conference

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework