Click here to Skip to main content
15,845,912 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Gotoless programming Pin
Marbry Hardin28-Feb-12 5:28
Marbry Hardin28-Feb-12 5:28 
GeneralRe: Gotoless programming Pin
code_junkie28-Feb-12 5:52
code_junkie28-Feb-12 5:52 
GeneralRe: Gotoless programming Pin
BobJanova28-Feb-12 6:11
BobJanova28-Feb-12 6:11 
GeneralRe: Gotoless programming Pin
Rachel Mant2-Jun-12 15:49
Rachel Mant2-Jun-12 15:49 
GeneralRe: Gotoless programming Pin
Member 834855428-Feb-12 6:44
Member 834855428-Feb-12 6:44 
GeneralRe: Gotoless programming Pin
cpkilekofp28-Feb-12 6:53
cpkilekofp28-Feb-12 6:53 
GeneralRe: Gotoless programming Pin
Member 316697428-Feb-12 4:14
Member 316697428-Feb-12 4:14 
GeneralRe: Gotoless programming Pin
George Dennie28-Feb-12 5:36
George Dennie28-Feb-12 5:36 
Yep, seems like goto used to implement a simple "Case" statement to me too.

In fact, "If", "Case", "For", "While" are just patterns captured from observing the repeated use of "Goto"; I would imagine. Thereby simplifying the language so you as the read don't have to search through the connecting statements to realize the "Goto" is just implementing a "While" or "If" pattern.

Of course not all conceivable "Goto" pattern has been captured. Consequently, there are no doubt algorithms in which the "Goto" is either necessary or a simplier description than combinations of the aforementioned patterns, as rare as these may be.
GeneralRe: Gotoless programming Pin
cpkilekofp28-Feb-12 7:14
cpkilekofp28-Feb-12 7:14 
GeneralRe: Gotoless programming Pin
JackDingler28-Feb-12 3:35
JackDingler28-Feb-12 3:35 
GeneralRe: Gotoless programming Pin
ClockMeister28-Feb-12 4:51
professionalClockMeister28-Feb-12 4:51 
GeneralRe: Gotoless programming Pin
cpkilekofp28-Feb-12 9:01
cpkilekofp28-Feb-12 9:01 
GeneralRe: Gotoless programming Pin
ClockMeister28-Feb-12 9:19
professionalClockMeister28-Feb-12 9:19 
GeneralRe: Gotoless programming Pin
jschell28-Feb-12 14:44
jschell28-Feb-12 14:44 
GeneralRe: Gotoless programming Pin
Merlin8728-Feb-12 5:28
Merlin8728-Feb-12 5:28 
GeneralRe: Gotoless programming Pin
Peter Grogono28-Feb-12 7:09
Peter Grogono28-Feb-12 7:09 
GeneralRe: Gotoless programming Pin
AspDotNetDev22-Feb-12 13:21
protectorAspDotNetDev22-Feb-12 13:21 
GeneralRe: Gotoless programming Pin
CDP180223-Feb-12 14:29
CDP180223-Feb-12 14:29 
GeneralRe: Gotoless programming Pin
AspDotNetDev23-Feb-12 15:27
protectorAspDotNetDev23-Feb-12 15:27 
GeneralRe: Gotoless programming Pin
CDP180223-Feb-12 17:58
CDP180223-Feb-12 17:58 
GeneralRe: Gotoless programming Pin
leppie27-Feb-12 19:59
leppie27-Feb-12 19:59 
GeneralRe: Gotoless programming Pin
Jonathan C Dickinson27-Feb-12 22:27
Jonathan C Dickinson27-Feb-12 22:27 
GeneralRe: Gotoless programming Pin
leppie27-Feb-12 23:36
leppie27-Feb-12 23:36 
GeneralRe: Gotoless programming Pin
DerekT-P28-Feb-12 2:36
professionalDerekT-P28-Feb-12 2:36 
GeneralRe: Gotoless programming Pin
Kirk Wood28-Feb-12 2:46
Kirk Wood28-Feb-12 2:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.