Click here to Skip to main content
15,906,628 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: My sides - they split! Pin
Pete O'Hanlon21-Nov-07 9:32
mvePete O'Hanlon21-Nov-07 9:32 
JokeRe: My sides - they split! Pin
Brady Kelly21-Nov-07 21:48
Brady Kelly21-Nov-07 21:48 
GeneralRe: My sides - they split! Pin
Curtis J23-Nov-07 10:25
Curtis J23-Nov-07 10:25 
QuestionRe: My sides - they split! Pin
David Crow26-Nov-07 10:32
David Crow26-Nov-07 10:32 
AnswerRe: My sides - they split! Pin
martin_hughes26-Nov-07 10:50
martin_hughes26-Nov-07 10:50 
GeneralRe: My sides - they split! Pin
Johann Gerell28-Nov-07 20:43
Johann Gerell28-Nov-07 20:43 
GeneralRe: My sides - they split! Pin
Jim Crafton29-Nov-07 9:44
Jim Crafton29-Nov-07 9:44 
GeneralDo it only once please Pin
- Pascal -16-Nov-07 9:40
- Pascal -16-Nov-07 9:40 
Today we had to edit very old code and we ran into this great piece of code

for (int lnIndice = 1; lnIndice <= 1; lnIndice++)
{
    switch (lnIndice)
    {
        case 1:
            // do something here
            break;
    }
}	


We found it very funny Big Grin | :-D
GeneralRe: Do it only once please Pin
Chris Meech16-Nov-07 10:25
Chris Meech16-Nov-07 10:25 
GeneralRe: Do it only once please Pin
- Pascal -16-Nov-07 10:38
- Pascal -16-Nov-07 10:38 
GeneralRe: Do it only once please Pin
Oshtri Deka16-Nov-07 11:30
professionalOshtri Deka16-Nov-07 11:30 
GeneralRe: Do it only once please Pin
Tony Wesley16-Nov-07 11:31
Tony Wesley16-Nov-07 11:31 
GeneralRe: Do it only once please Pin
Robert Surtees16-Nov-07 12:24
Robert Surtees16-Nov-07 12:24 
GeneralRe: Do it only once please Pin
Tony Wesley16-Nov-07 12:29
Tony Wesley16-Nov-07 12:29 
GeneralRe: Do it only once please Pin
chmod222218-Nov-07 22:31
chmod222218-Nov-07 22:31 
GeneralRe: Do it only once please Pin
CPallini18-Nov-07 22:50
mveCPallini18-Nov-07 22:50 
GeneralRe: Do it only once please Pin
Tony Wesley20-Nov-07 11:23
Tony Wesley20-Nov-07 11:23 
GeneralRe: Do it only once please Pin
chmod222220-Nov-07 20:03
chmod222220-Nov-07 20:03 
GeneralRe: Do it only once please Pin
Tony Wesley21-Nov-07 4:49
Tony Wesley21-Nov-07 4:49 
GeneralRe: Do it only once please Pin
leppie19-Nov-07 1:43
leppie19-Nov-07 1:43 
GeneralRe: Do it only once please Pin
CurtD23-Nov-07 13:09
CurtD23-Nov-07 13:09 
GeneralRe: Do it only once please Pin
Tony Wesley23-Nov-07 19:40
Tony Wesley23-Nov-07 19:40 
GeneralRe: Do it only once please [modified] Pin
CurtD15-Dec-07 17:53
CurtD15-Dec-07 17:53 
GeneralRe: Do it only once please Pin
PIEBALDconsult16-Nov-07 16:06
mvePIEBALDconsult16-Nov-07 16:06 
GeneralRe: Do it only once please Pin
Tony Wesley17-Nov-07 4:32
Tony Wesley17-Nov-07 4:32 

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.