Click here to Skip to main content
15,877,573 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
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 
You may not have meant it but your tone is sanctimonious. If that's the way you intend it, it's not appreciated.

No doubt, I have (over 35 years) cleaned up a lot of messes (spaghetti code) where GOTO was misused. When I say "a lot of contexts" I mean I have run into a lot of situations in existing code where its use still makes sense and where "factoring it out" isn't profitable.

I practically never use it any more in my OO style code however, as it was pointed out earlier I believe, there are still situations (assembly code, etc) where it's use is appropriate.

I repeat: use the right tool for the job. If a developer is incompetent then GOTO will not be his only abuse.

-Max Smile | :)
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 
GeneralRe: Gotoless programming Pin
AspDotNetDev23-Feb-12 14:27
protectorAspDotNetDev23-Feb-12 14:27 
GeneralRe: Gotoless programming Pin
CDP180223-Feb-12 16:58
CDP180223-Feb-12 16:58 
GeneralRe: Gotoless programming Pin
leppie27-Feb-12 18:59
leppie27-Feb-12 18:59 
GeneralRe: Gotoless programming Pin
Jonathan C Dickinson27-Feb-12 21:27
Jonathan C Dickinson27-Feb-12 21:27 
GeneralRe: Gotoless programming Pin
leppie27-Feb-12 22:36
leppie27-Feb-12 22:36 
GeneralRe: Gotoless programming Pin
DerekT-P28-Feb-12 1:36
professionalDerekT-P28-Feb-12 1:36 
GeneralRe: Gotoless programming Pin
Kirk Wood28-Feb-12 1:46
Kirk Wood28-Feb-12 1:46 
GeneralRe: Gotoless programming Pin
Jonathan C Dickinson28-Feb-12 1:56
Jonathan C Dickinson28-Feb-12 1:56 
GeneralRe: Gotoless programming Pin
Kirk Wood28-Feb-12 1:51
Kirk Wood28-Feb-12 1:51 
GeneralRe: Gotoless programming Pin
Anthony Appleyard27-Feb-12 19:24
Anthony Appleyard27-Feb-12 19:24 
GeneralRe: Gotoless programming Pin
GuyThiebaut27-Feb-12 20:39
professionalGuyThiebaut27-Feb-12 20:39 
GeneralRe: Gotoless programming Pin
Stefan_Lang27-Feb-12 22:02
Stefan_Lang27-Feb-12 22:02 

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.