COTD: The dangers of GOTO
-
I'm really glad he didn't use goto.net. Being non deterministically destructed by a managed veloceraptor is just to horrible to contemplate.:-D
Nothing is exactly what it seems but everything with seems can be unpicked.
-
-
Malcolm Smart wrote:
I suppose I will lose my gold status now.....
What gold status. Have you checked your status lately? :doh: Additionally, you will be stripped of your gold epaulets, your sword broken and you are banished from the kingdom! :~
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
Jon Sagara wrote:
I had already finished my coffee before reading that.
I was between swigs of coffee. I remember my high school BASIC (old Apple IIe's :rolleyes:) teacher docking points for the use of GOTO's.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
-
Jon Sagara wrote:
I had already finished my coffee before reading that.
I was between swigs of coffee. I remember my high school BASIC (old Apple IIe's :rolleyes:) teacher docking points for the use of GOTO's.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
When I was in college taking COBOL, there was only one instance where we were allowed to use a GOTO. One teacher would give you a 0 (zero) on the assignment if he found a GOTO that didn't need to be there. Tim
-
Malcolm Smart wrote:
I suppose I will lose my gold status now.....
What gold status. Have you checked your status lately? :doh: Additionally, you will be stripped of your gold epaulets, your sword broken and you are banished from the kingdom! :~
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
-
When I was in college taking COBOL, there was only one instance where we were allowed to use a GOTO. One teacher would give you a 0 (zero) on the assignment if he found a GOTO that didn't need to be there. Tim
All my GOTOs need to be there...
-
All my GOTOs need to be there...
I was thinking all GOTO statements should go to a /dev/nul on some Linux box sitting on the dark side of the Moon :rolleyes:
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Ahh.. a rare repost from the top. :)
"I don't want more choice. I just want better things!" - Edina Monsoon
It never was about the GOTO. It is really the Come-From that gets you in trouble... There is a one-to-many relationship there that makes it hard to go backwards. srf