Click here to Skip to main content
15,881,709 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.

 
GeneralI, Moron Pin
Clodetta del Mar12-Sep-13 6:41
Clodetta del Mar12-Sep-13 6:41 
GeneralRe: I, Moron Pin
Nagy Vilmos12-Sep-13 6:52
professionalNagy Vilmos12-Sep-13 6:52 
GeneralRe: I, Moron Pin
Clodetta del Mar12-Sep-13 6:56
Clodetta del Mar12-Sep-13 6:56 
GeneralRe: I, Moron Pin
Ron Anders12-Sep-13 6:59
Ron Anders12-Sep-13 6:59 
GeneralRe: I, Moron [modified] Pin
Clodetta del Mar12-Sep-13 7:02
Clodetta del Mar12-Sep-13 7:02 
GeneralRe: I, Moron [modified] Pin
BillW3312-Sep-13 7:37
professionalBillW3312-Sep-13 7:37 
GeneralRe: I, Moron [modified] Pin
Clodetta del Mar12-Sep-13 7:43
Clodetta del Mar12-Sep-13 7:43 
GeneralRe: I, Moron [modified] Pin
BillW3312-Sep-13 7:50
professionalBillW3312-Sep-13 7:50 
Oh it's not imagination, I have known coders who thought they had removed some code with embarrassing output, but it made it into production code. Fortunately it was in a rarely accessed part of the code and we found it and got it fixed before end users actually saw it. I now keep telling fellow programmers to not put in in the code unless they want the end users to see it. Inevitably, some of that stuff will make it into production code. Sigh | :sigh:
Just because the code works, it doesn't mean that it is good code.

GeneralRe: I, Moron [two times modified] Pin
Clodetta del Mar12-Sep-13 8:17
Clodetta del Mar12-Sep-13 8:17 
GeneralRe: I, Moron [two times modified] Pin
Richard Deeming12-Sep-13 8:34
mveRichard Deeming12-Sep-13 8:34 
GeneralRe: I, Moron [two times modified] Pin
Clodetta del Mar12-Sep-13 8:38
Clodetta del Mar12-Sep-13 8:38 
GeneralRe: I, Moron [two times modified] Pin
BillW3312-Sep-13 9:47
professionalBillW3312-Sep-13 9:47 
GeneralRe: I, Moron [two times modified] Pin
Clodetta del Mar12-Sep-13 9:51
Clodetta del Mar12-Sep-13 9:51 
GeneralRe: I, Moron Pin
Rage13-Sep-13 1:35
professionalRage13-Sep-13 1:35 
GeneralRe: I, Moron Pin
Clodetta del Mar13-Sep-13 1:36
Clodetta del Mar13-Sep-13 1:36 
GeneralRe: I, Moron Pin
Jarek Kruza16-Sep-13 0:33
Jarek Kruza16-Sep-13 0:33 
GeneralRe: I, Moron Pin
Clodetta del Mar16-Sep-13 0:53
Clodetta del Mar16-Sep-13 0:53 
GeneralRe: I, Moron Pin
imagiro14-Oct-13 6:05
imagiro14-Oct-13 6:05 
GeneralWhat's missing? PinPopular
Gary Wheeler11-Sep-13 0:42
Gary Wheeler11-Sep-13 0:42 
GeneralRe: What's missing? Pin
OriginalGriff11-Sep-13 0:51
mveOriginalGriff11-Sep-13 0:51 
GeneralRe: What's missing? Pin
Gary Wheeler11-Sep-13 0:59
Gary Wheeler11-Sep-13 0:59 
GeneralRe: What's missing? Pin
OriginalGriff11-Sep-13 1:11
mveOriginalGriff11-Sep-13 1:11 
GeneralRe: What's missing? Pin
Gary Wheeler11-Sep-13 1:14
Gary Wheeler11-Sep-13 1:14 
GeneralRe: What's missing? Pin
OriginalGriff11-Sep-13 1:28
mveOriginalGriff11-Sep-13 1:28 
GeneralRe: What's missing? Pin
Freak3012-Sep-13 3:46
Freak3012-Sep-13 3: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.