Click here to Skip to main content
15,914,160 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: See the writing on the wall... Pin
Jeremy Hutchinson4-May-12 1:32
professionalJeremy Hutchinson4-May-12 1:32 
GeneralRe: See the writing on the wall... Pin
CDP18024-May-12 2:24
CDP18024-May-12 2:24 
GeneralRe: See the writing on the wall... Pin
Jeremy Hutchinson4-May-12 2:29
professionalJeremy Hutchinson4-May-12 2:29 
GeneralRe: See the writing on the wall... Pin
Dan Neely4-May-12 2:37
Dan Neely4-May-12 2:37 
GeneralRe: See the writing on the wall... Pin
CDP18024-May-12 2:41
CDP18024-May-12 2:41 
GeneralRe: See the writing on the wall... Pin
JackDingler4-May-12 4:27
JackDingler4-May-12 4:27 
GeneralRe: See the writing on the wall... Pin
bkebamc4-May-12 5:47
bkebamc4-May-12 5:47 
GeneralRe: See the writing on the wall... Pin
KP Lee5-May-12 9:50
KP Lee5-May-12 9:50 
A bunch of try/catch, poorly written serial code, isn't spaggetti code (irritating and difficult to understand/debug, yes)

A real "S" epic has about 4-5k lines in one routine, conditionals on most of the branches, a bit of dead code thrown in, and logic similar to:

goto 123
3000 continue
goto 3214
10 continue
goto 143
5130 continue
exit
1634 continue
goto 3214
123 continue
goto 10
3214 continue
goto 5130
143 continue
goto 3000
Generalshame to my tester or me? Pin
kdgupta871-May-12 21:15
kdgupta871-May-12 21:15 
GeneralRe: shame to my tester or me? Pin
CDP18021-May-12 21:29
CDP18021-May-12 21:29 
GeneralRe: shame to my tester or me? Pin
kdgupta871-May-12 21:49
kdgupta871-May-12 21:49 
GeneralRe: shame to my tester or me? Pin
CDP18021-May-12 22:54
CDP18021-May-12 22:54 
GeneralRe: shame to my tester or me? Pin
PIEBALDconsult2-May-12 3:12
mvePIEBALDconsult2-May-12 3:12 
GeneralRe: shame to my tester or me? Pin
Dan Sutton3-May-12 7:23
Dan Sutton3-May-12 7:23 
GeneralRe: shame to my tester or me? Pin
BobJanova2-May-12 0:48
BobJanova2-May-12 0:48 
GeneralRe: shame to my tester or me? Pin
CDP18022-May-12 2:04
CDP18022-May-12 2:04 
GeneralRe: shame to my tester or me? Pin
BobJanova2-May-12 5:10
BobJanova2-May-12 5:10 
GeneralRe: shame to my tester or me? Pin
Machaira3-May-12 4:05
Machaira3-May-12 4:05 
GeneralRe: shame to my tester or me? Pin
Isfeasachme3-May-12 4:26
Isfeasachme3-May-12 4:26 
GeneralRe: shame to my tester or me? Pin
Florin Jurcovici5-Jun-12 21:24
Florin Jurcovici5-Jun-12 21:24 
GeneralRe: shame to my tester or me? Pin
ddecoy2-May-12 22:41
ddecoy2-May-12 22:41 
GeneralRe: shame to my tester or me? Pin
Paulo_JCG3-May-12 0:03
professionalPaulo_JCG3-May-12 0:03 
GeneralRe: shame to my tester or me? Pin
ddecoy3-May-12 0:09
ddecoy3-May-12 0:09 
GeneralRe: shame to my tester or me? Pin
Gary Huck3-May-12 2:23
Gary Huck3-May-12 2:23 
GeneralRe: shame to my tester or me? Pin
ddecoy3-May-12 2:31
ddecoy3-May-12 2:31 

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.