News Feed
Jobs Feed
Sections




News Archive
PHPCult.com:
PHP, Laziness and the consequences of bad habits
April 10, 2006 @ 06:57:17

In this new post from Vidyut Luther on PHPCult.com, he mentions some difficulties he had installing some new PHP software - caused by bad habits the programmers used that caused trouble down the line. To help prevent further abuses of these issues, he lists out some of them.

His list so far is:

  • Turning "register globals" on
  • using shot open tags
  • using the ASP style of tagging
  • single-line condition statements (without the curly braces)
  • improper use of exit()
  • assuming settings on a remote server

For each of the above options, he briefly covers his opinion as to why they're wrong and can cause some serious headaches down the line. Most advanced programmers out there know about most of these issues, and have learned to work without them.

0 comments voice your opinion now!
laziness bad habits register_globals short tags exit laziness bad habits register_globals short tags exit


blog comments powered by Disqus

Similar Posts

DevShed Forums: PHP is a fractal of bad design? Hardly.

Brian Moon's Blog: Short Array Syntax for PHP

Community News: Mambo Lead Developer Quits

Tim Bray's Blog: 2008 Prediction 4: PHP Problems

Robert Ames\' Blog: Upgrading from PHP4 to PHP5


Community Events











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


release testing phpunit community conference rest series zendframework2 development introduction functional language database framework symfony2 unittest podcast opinion interview usergroup

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