[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: The no goto religion
From:       Stephen Leaf <smileaf () smileaf ! org>
Date:       2007-07-30 1:24:00
Message-ID: 200707292024.00193.smileaf () smileaf ! org
[Download RAW message or body]

On Sunday 29 July 2007 18:06:44 Ian Wadham wrote:
> On Mon, 30 Jul 2007 02:52 am, James Richard Tyrer wrote:
> > A small hint from an old programmer.
> > When should you use a "goto".  My example:
>
> Back in the dawn of pre-history, around 1969, there was a
> magazine called Datamation and every April they had some
> spoof articles.  One was a parody on an English song about
> trees.  The first few lines were:
>
>     I think that I shall never see
>     A program from all goto's free,
>     Whose nested modules at a look
>     Read exactly like a book ...
>
> I forget how it went on.  There was some mention of
> "software genie" and "Bohm and Jacopini", but the final
> lines were:
>
>     Programs are written by fools like me.
>     Not even God is goto-free! [1]
>
> [1] The Bible, King James English version,
>      Genesis 11, verse 7.
> or see http://en.wikipedia.org/wiki/Tower_of_Babel#Narrative
In the New King James Version they revised it to rid themselves of the Goto ;)
"Come, let Us go down and there confuse their language, that they may not 
understand one another's speech."

>
> I hope you enjoy this gem as much as I always have.
>
> Dinosaurially yours, Ian W.
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<



-- 
Stephen Leaf
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic