Click here to Skip to main content
15,891,431 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: Code should be 5 or anything above 7 long... Pin
MarvinMartian28-Jan-12 11:49
MarvinMartian28-Jan-12 11:49 
GeneralRe: Code should be 5 or anything above 7 long... Pin
Sander Rossel28-Jan-12 12:05
professionalSander Rossel28-Jan-12 12:05 
GeneralRe: Code should be 5 or anything above 7 long... Pin
MarvinMartian28-Jan-12 12:35
MarvinMartian28-Jan-12 12:35 
GeneralRe: Code should be 5 or anything above 7 long... Pin
Sander Rossel28-Jan-12 13:05
professionalSander Rossel28-Jan-12 13:05 
GeneralRe: Code should be 5 or anything above 7 long... Pin
MarvinMartian28-Jan-12 13:41
MarvinMartian28-Jan-12 13:41 
GeneralRe: Code should be 5 or anything above 7 long... Pin
Sander Rossel28-Jan-12 23:56
professionalSander Rossel28-Jan-12 23:56 
GeneralRe: Code should be 5 or anything above 7 long... Pin
dawmail33330-Jan-12 0:44
dawmail33330-Jan-12 0:44 
GeneralRe: Code should be 5 or anything above 7 long... Pin
Jyothikarthik_N31-Jan-12 0:23
Jyothikarthik_N31-Jan-12 0:23 
Naerling wrote:
Throw New Exception("Code should be 5 characters long.")


Well, shouldn't error change accordingly?


Throw New Exception("Code should be 5 characters long or should exactly not be 6 characters or oh wait, not exactly 7 characters too, anything other than that.")

-
Just that something can be done, doesn't mean it should be done. Respect developers and their efforts!

Jk

GeneralLinq2Horror PinPopular
Robert Rohde24-Jan-12 21:01
Robert Rohde24-Jan-12 21:01 
GeneralRe: Linq2Horror PinPopular
Nagy Vilmos24-Jan-12 21:33
professionalNagy Vilmos24-Jan-12 21:33 
GeneralRe: Linq2Horror Pin
V.24-Jan-12 22:59
professionalV.24-Jan-12 22:59 
GeneralRe: Linq2Horror Pin
Robert Rohde25-Jan-12 1:31
Robert Rohde25-Jan-12 1:31 
GeneralRe: Linq2Horror Pin
BobJanova25-Jan-12 8:16
BobJanova25-Jan-12 8:16 
GeneralRe: Linq2Horror Pin
riced25-Jan-12 10:54
riced25-Jan-12 10:54 
GeneralRe: Linq2Horror Pin
PIEBALDconsult26-Jan-12 2:36
mvePIEBALDconsult26-Jan-12 2:36 
GeneralRe: Linq2Horror Pin
BobJanova27-Jan-12 13:02
BobJanova27-Jan-12 13:02 
GeneralRe: Linq2Horror Pin
PIEBALDconsult27-Jan-12 16:03
mvePIEBALDconsult27-Jan-12 16:03 
GeneralRe: Linq2Horror Pin
riced28-Jan-12 6:27
riced28-Jan-12 6:27 
GeneralRe: Linq2Horror Pin
icestatue23-Feb-12 3:14
icestatue23-Feb-12 3:14 
GeneralRe: Linq2Horror Pin
gavindon1-Feb-12 10:51
gavindon1-Feb-12 10:51 
GeneralRe: Linq2Horror Pin
killabyte25-Jan-12 14:29
killabyte25-Jan-12 14:29 
GeneralRe: Linq2Horror Pin
Robert Rohde25-Jan-12 17:52
Robert Rohde25-Jan-12 17:52 
GeneralRe: Linq2Horror Pin
killabyte27-Jan-12 9:46
killabyte27-Jan-12 9:46 
GeneralRe: Linq2Horror Pin
Sander Rossel19-Mar-12 21:50
professionalSander Rossel19-Mar-12 21:50 
GeneralRe: Linq2Horror Pin
Robert Rohde22-Mar-12 2:07
Robert Rohde22-Mar-12 2:07 

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.