This entry was posted on Monday, November 9th, 2009 at 11:20 pm and is filed under Geeks On PHP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Site Search:
November 9, 2009
At the heart of every redundant thing you do, is a loop.
Even the greeks knew it. When Sisyphus pissed off the gods, they stuck him in a while loop
while($gods == “pissed”) {
$sisyphus = “Roll rock up a hill”;
}
Granted the greek gods were a bit tempermental, but like the greeks, your application will execute these types of statements to output data, count, and do all sorts of things that are even, at times, incredibly futile and redundant. Also like gods, while loops can be tempermental, and when hastily constructed can leave Sisyphus pushing his rock for all of eternity.

Wondering who Sisyphus is ? http://en.wikipedia.org/wiki/Sisyphus
PHP Manual on Control Structures: http://us2.php.net/manual/en/language.control-structures.php
Also, subscribe to us on iTunes and leave us your comments: [ Launch iTunes ]
Follow us on Twitter :
Stephen : http://www.twitter.com/darthweef
Nick : http://www.twitter.com/niczak
read comments (1)
December 27th, 2009 at 5:48 pm
I like while loops, honestly i go out of my way to write do while loops because i never see them in other code bases.