News Feed
Sections




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

Reddit.com:
What are some genuine criticisms of PHP?
April 05, 2012 @ 10:09:04

On Reddit.com there's a long thread with responses to the question "What are some genuine criticisms of PHP?" with opinions ranging from small issues (like syntax) out to more community-related topics.

PHP tends to get a lot of flak, but mostly it is for something that isn't really the fault of PHP. Things like "there is so much bad PHP code out there" may be true but you can write bad code in any language. You shouldn't be mixing PHP, SQL and HTML, and you should be escaping/parameterizing variables for queries. (Thankfully this is less prevalent nowadays.) So do many PHP criticisms actually hold true today, now we have namespaces and we have buried crap like magic quotes at the bottom of the ocean?

Other comments cover things like

  • PHP's namespace implementation
  • poor web services support
  • Less code audits, more "roll-your-own fever"
  • Function naming and parameter order
  • weak OOP functionality

Check out the full post for lots more opinions and add yours too!

0 comments voice your opinion now!
opinion criticism language feature feedback


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: PHPSecInfo: New release (0.1.2), new plans

Justin Carmony: Refactoring or Rebuilding: Working with Legacy Code

PHP.net: PHP 5.4.11 and PHP 5.3.21 released!

David Gardner's Blog: Why you should always use PHP interfaces

Community News: Kohana Community Responds to PSR-1 & PSR-2


Community Events





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


framework threedevsandamaybe language developer code refactor interview list opinion configure testing symfony2 laravel release unittest series install introduction podcast community

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