News Feed
Sections




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

ZDNet Australia:
If PHP then goto is the future
June 11, 2009 @ 14:51:46

With all of the recent talk about GOTO in PHP 5.3, there's been a lot of comments, both positive and negative, about the functionality and the PHP development group's choice to include it. This new article from ZDNet (Australia) looks at the debate that's been going on and provides a more "clueful" perspective.

Few things can spark more religious fervour amongst programmers than the mention of a goto statement. PHP has stepped into the middle of the firefight by announcing that it will be implementing goto functionality in version 5.3. [...] By going against the goto grain, PHP is challenging a tenet upon which the foundation of modern programming is built. [...] Here's a shock for the young, blindly-accepting-articles-of-faith type of programmer that has never had to use a goto: most high-level languages implement a form of goto, you just know them as break, switch and continue.

He agrees with most of the masses that, in the wrong hands (or in the hands of an inexperienced programmer), it could result in some truly horrific code. For some, however, its the open door they've been looking for - jumping out of structures so deep in logic that getting back out has been a major struggle.

0 comments voice your opinion now!
future opinion goto


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Best PHP Frameworks for 2014

Hasin Hayder's Blog: What is your favorite IDE/editor for writing code?

Liip Blog: Of HHVM, Hack and the future of PHP

Wojciech Sznapka: Software developers care too much about tools

Java.Sys-con.com: Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?


Community Events





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


release symfony framework podcast code list series laravel unittest api configure community interview introduction install developer application wordpress library language

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