Click here to Skip to main content
15,902,112 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: OMG a "Goto" Pin
BadKarma23-Oct-08 1:56
BadKarma23-Oct-08 1:56 
GeneralRe: OMG a "Goto" Pin
MidwestLimey23-Oct-08 5:23
professionalMidwestLimey23-Oct-08 5:23 
GeneralRe: OMG a "Goto" Pin
VirtualVoid.NET23-Oct-08 6:13
VirtualVoid.NET23-Oct-08 6:13 
GeneralRe: OMG a "Goto" Pin
CPallini23-Oct-08 6:37
mveCPallini23-Oct-08 6:37 
GeneralRe: OMG a "Goto" Pin
VirtualVoid.NET23-Oct-08 6:44
VirtualVoid.NET23-Oct-08 6:44 
GeneralRe: OMG a "Goto" Pin
johannesnestler11-Nov-08 5:28
johannesnestler11-Nov-08 5:28 
GeneralRe: OMG a "Goto" Pin
Dan Neely23-Oct-08 2:16
Dan Neely23-Oct-08 2:16 
GeneralRe: OMG a "Goto" Pin
Super Lloyd24-Oct-08 0:57
Super Lloyd24-Oct-08 0:57 
I like this reason as well

void foobar()
{
// blah blah blah
for(...)
{
// blablabla
for(..)
{
// foo foo foo
if(bar)
goto end;
}
}
end:
// beep bop a loola
}

A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.

GeneralRe: OMG a "Goto" Pin
CPallini24-Oct-08 0:59
mveCPallini24-Oct-08 0:59 
GeneralRe: OMG a "Goto" Pin
Rob Grainger24-Oct-08 1:43
Rob Grainger24-Oct-08 1:43 
GeneralRe: OMG a "Goto" Pin
CPallini24-Oct-08 1:57
mveCPallini24-Oct-08 1:57 
GeneralRe: OMG a "Goto" Pin
Rob Grainger25-Oct-08 18:10
Rob Grainger25-Oct-08 18:10 
GeneralRe: OMG a "Goto" Pin
CPallini25-Oct-08 22:14
mveCPallini25-Oct-08 22:14 
JokeRe: OMG a "Goto" Pin
Andrew Rissing24-Oct-08 4:09
Andrew Rissing24-Oct-08 4:09 
GeneralRe: OMG a "Goto" Pin
johannesnestler11-Nov-08 5:43
johannesnestler11-Nov-08 5:43 
GeneralRe: OMG a "Goto" Pin
Thomas Weller24-Oct-08 1:27
Thomas Weller24-Oct-08 1:27 
GeneralRe: OMG a "Goto" Pin
Super Lloyd24-Oct-08 1:42
Super Lloyd24-Oct-08 1:42 
GeneralRe: OMG a "Goto" Pin
Thomas Weller24-Oct-08 2:58
Thomas Weller24-Oct-08 2:58 
GeneralRe: OMG a "Goto" Pin
johannesnestler11-Nov-08 5:47
johannesnestler11-Nov-08 5:47 
GeneralRe: OMG a "Goto" Pin
Rob Grainger24-Oct-08 1:48
Rob Grainger24-Oct-08 1:48 
GeneralRe: OMG a "Goto" Pin
CPallini24-Oct-08 2:45
mveCPallini24-Oct-08 2:45 
GeneralRe: OMG a "Goto" Pin
Thomas Weller24-Oct-08 2:49
Thomas Weller24-Oct-08 2:49 
GeneralRe: OMG a "Goto" Pin
Rob Grainger25-Oct-08 18:14
Rob Grainger25-Oct-08 18:14 
GeneralRe: OMG a "Goto" Pin
Thomas Weller25-Oct-08 23:09
Thomas Weller25-Oct-08 23:09 
GeneralRe: OMG a "Goto" Pin
PIEBALDconsult24-Oct-08 4:00
mvePIEBALDconsult24-Oct-08 4:00 

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.