Click here to Skip to main content
15,902,275 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
BobJanova28-Feb-12 22:33
BobJanova28-Feb-12 22:33 
GeneralRe: Gotoless programming Pin
DragonHeart33528-Feb-12 1:13
DragonHeart33528-Feb-12 1:13 
GeneralRe: Gotoless programming Pin
scott_m557428-Feb-12 3:25
scott_m557428-Feb-12 3:25 
GeneralRe: Gotoless programming Pin
Mike Winiberg27-Feb-12 21:14
professionalMike Winiberg27-Feb-12 21:14 
GeneralRe: Gotoless programming Pin
englebart28-Feb-12 2:06
professionalenglebart28-Feb-12 2:06 
GeneralRe: Gotoless programming Pin
code_junkie28-Feb-12 2:42
code_junkie28-Feb-12 2:42 
GeneralRe: Gotoless programming Pin
Renzo Ciafardone28-Feb-12 3:53
Renzo Ciafardone28-Feb-12 3:53 
GeneralRe: Gotoless programming Pin
Marbry Hardin28-Feb-12 4:28
Marbry Hardin28-Feb-12 4:28 
Deep recursion could potentially stand to be replaced with a goto.

The problem as others have mentioned is that it has been heavily abused. And since it usually would only be needed under a limited set of circumstances it's better to just make it off-limits unless someone can make a compelling case for its use.
GeneralRe: Gotoless programming Pin
code_junkie28-Feb-12 4:52
code_junkie28-Feb-12 4:52 
GeneralRe: Gotoless programming Pin
BobJanova28-Feb-12 5:11
BobJanova28-Feb-12 5:11 
GeneralRe: Gotoless programming Pin
Rachel Mant2-Jun-12 14:49
Rachel Mant2-Jun-12 14:49 
GeneralRe: Gotoless programming Pin
Member 834855428-Feb-12 5:44
Member 834855428-Feb-12 5:44 
GeneralRe: Gotoless programming Pin
cpkilekofp28-Feb-12 5:53
cpkilekofp28-Feb-12 5:53 
GeneralRe: Gotoless programming Pin
Member 316697428-Feb-12 3:14
Member 316697428-Feb-12 3:14 
GeneralRe: Gotoless programming Pin
George Dennie28-Feb-12 4:36
George Dennie28-Feb-12 4:36 
GeneralRe: Gotoless programming Pin
cpkilekofp28-Feb-12 6:14
cpkilekofp28-Feb-12 6:14 
GeneralRe: Gotoless programming Pin
JackDingler28-Feb-12 2:35
JackDingler28-Feb-12 2:35 
GeneralRe: Gotoless programming Pin
ClockMeister28-Feb-12 3:51
professionalClockMeister28-Feb-12 3:51 
GeneralRe: Gotoless programming Pin
cpkilekofp28-Feb-12 8:01
cpkilekofp28-Feb-12 8:01 
GeneralRe: Gotoless programming Pin
ClockMeister28-Feb-12 8:19
professionalClockMeister28-Feb-12 8:19 
GeneralRe: Gotoless programming Pin
jschell28-Feb-12 13:44
jschell28-Feb-12 13:44 
GeneralRe: Gotoless programming Pin
Merlin8728-Feb-12 4:28
Merlin8728-Feb-12 4:28 
GeneralRe: Gotoless programming Pin
Peter Grogono28-Feb-12 6:09
Peter Grogono28-Feb-12 6:09 
GeneralRe: Gotoless programming Pin
AspDotNetDev22-Feb-12 12:21
protectorAspDotNetDev22-Feb-12 12:21 
GeneralRe: Gotoless programming Pin
CDP180223-Feb-12 13:29
CDP180223-Feb-12 13:29 

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.