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

 
JokeRe: What should you do if assigning is going to crash your application? Pin
Julien Villers29-Nov-11 21:23
professionalJulien Villers29-Nov-11 21:23 
GeneralRe: What should you do if assigning is going to crash your application? PinPopular
CDP180229-Nov-11 21:38
CDP180229-Nov-11 21:38 
GeneralRe: What should you do if assigning is going to crash your application? Pin
Julien Villers29-Nov-11 21:40
professionalJulien Villers29-Nov-11 21:40 
GeneralRe: What should you do if assigning is going to crash your application? Pin
CDP180229-Nov-11 21:42
CDP180229-Nov-11 21:42 
GeneralRe: What should you do if assigning is going to crash your application? Pin
dawmail3331-Dec-11 2:25
dawmail3331-Dec-11 2:25 
GeneralRe: What should you do if assigning is going to crash your application? Pin
CDP18021-Dec-11 3:37
CDP18021-Dec-11 3:37 
GeneralRe: What should you do if assigning is going to crash your application? Pin
Vladimir Svyatski1-Dec-11 6:22
professionalVladimir Svyatski1-Dec-11 6:22 
GeneralRe: What should you do if assigning is going to crash your application? Pin
VallarasuS3-Dec-11 20:24
VallarasuS3-Dec-11 20:24 
CDP1802 wrote:
if (this == null)
{
throw new NullReferenceException();
}


You don't know how hard we laughed when we found such one in code library.
Regards Vallarasu S | BreakingDotNet.blogspot.com

GeneralRe: What should you do if assigning is going to crash your application? Pin
YvesDaoust1-Dec-11 2:41
YvesDaoust1-Dec-11 2:41 
GeneralRe: What should you do if assigning is going to crash your application? Pin
BobJanova1-Dec-11 5:25
BobJanova1-Dec-11 5:25 
GeneralRe: What should you do if assigning is going to crash your application? Pin
dawmail3331-Dec-11 14:53
dawmail3331-Dec-11 14:53 
GeneralRe: What should you do if assigning is going to crash your application? Pin
BobJanova2-Dec-11 0:11
BobJanova2-Dec-11 0:11 
GeneralRe: What should you do if assigning is going to crash your application? Pin
TorstenFrings2-Dec-11 0:21
TorstenFrings2-Dec-11 0:21 
GeneralRe: What should you do if assigning is going to crash your application? Pin
KP Lee2-Dec-11 21:44
KP Lee2-Dec-11 21:44 
Rant+1 -1 code patch.... or how to make my brain explode.... PinPopular
Alberto Bar-Noy28-Nov-11 1:12
Alberto Bar-Noy28-Nov-11 1:12 
GeneralRe: +1 -1 code patch.... or how to make my brain explode.... Pin
KP Lee2-Dec-11 23:35
KP Lee2-Dec-11 23:35 
GeneralRe: +1 -1 code patch.... or how to make my brain explode.... Pin
Alberto Bar-Noy3-Dec-11 0:57
Alberto Bar-Noy3-Dec-11 0:57 
GeneralRe: +1 -1 code patch.... or how to make my brain explode.... Pin
KP Lee3-Dec-11 2:16
KP Lee3-Dec-11 2:16 
GeneralRe: +1 -1 code patch.... or how to make my brain explode.... Pin
Alberto Bar-Noy3-Dec-11 4:27
Alberto Bar-Noy3-Dec-11 4:27 
GeneralRe: +1 -1 code patch.... or how to make my brain explode.... Pin
KP Lee3-Dec-11 2:32
KP Lee3-Dec-11 2:32 
Questionzero int? Pin
b1054374821-Nov-11 12:33
b1054374821-Nov-11 12:33 
AnswerRe: zero int? Pin
CDP180221-Nov-11 23:30
CDP180221-Nov-11 23:30 
GeneralRe: zero int? Pin
Nagy Vilmos21-Nov-11 23:50
professionalNagy Vilmos21-Nov-11 23:50 
GeneralRe: zero int? Pin
CDP180221-Nov-11 23:52
CDP180221-Nov-11 23:52 
GeneralRe: zero int? Pin
KP Lee2-Dec-11 23:51
KP Lee2-Dec-11 23:51 

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.