Click here to Skip to main content
15,885,757 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: Government IT Hiring Pin
Bsw7917-Jan-11 6:02
Bsw7917-Jan-11 6:02 
GeneralRe: Government IT Hiring Pin
patbob17-Jan-11 6:20
patbob17-Jan-11 6:20 
GeneralRe: Government IT Hiring Pin
Michael Waters18-Jan-11 9:31
Michael Waters18-Jan-11 9:31 
GeneralAt least this one was easy to refactor... Pin
Rob Grainger7-Jan-11 4:09
Rob Grainger7-Jan-11 4:09 
GeneralRe: At least this one was easy to refactor... PinPopular
fjdiewornncalwe7-Jan-11 4:55
professionalfjdiewornncalwe7-Jan-11 4:55 
GeneralRe: At least this one was easy to refactor... Pin
Rob Grainger7-Jan-11 5:23
Rob Grainger7-Jan-11 5:23 
GeneralRe: At least this one was easy to refactor... Pin
musefan7-Jan-11 6:45
musefan7-Jan-11 6:45 
GeneralRe: At least this one was easy to refactor... PinPopular
imagiro8-Jan-11 0:24
imagiro8-Jan-11 0:24 
Well, the GoTo is important here, otherwise the computer may not know what to do: Sit down and have a coffee, travel to Egypt and visit the pyramides or maybe format the harddisks..

I always suggested to put a GoToNextStatement after each statement. But these dumb guys from microsoft didn't want to listen to me..
GeneralRe: At least this one was easy to refactor... Pin
PIEBALDconsult11-Jan-11 2:25
mvePIEBALDconsult11-Jan-11 2:25 
GeneralRe: At least this one was easy to refactor... Pin
Euhemerus17-Jan-11 8:11
Euhemerus17-Jan-11 8:11 
GeneralNot null check PinPopular
Ciumac Sergiu5-Jan-11 2:37
Ciumac Sergiu5-Jan-11 2:37 
GeneralRe: Not null check Pin
Luc Pattyn5-Jan-11 3:11
sitebuilderLuc Pattyn5-Jan-11 3:11 
GeneralRe: Not null check Pin
Kevin Drzycimski5-Jan-11 4:59
Kevin Drzycimski5-Jan-11 4:59 
GeneralRe: Not null check Pin
HimanshuJoshi5-Jan-11 15:26
HimanshuJoshi5-Jan-11 15:26 
GeneralRe: Not null check Pin
Ciumac Sergiu5-Jan-11 20:16
Ciumac Sergiu5-Jan-11 20:16 
GeneralRe: Not null check PinPopular
Paladin20006-Jan-11 3:32
Paladin20006-Jan-11 3:32 
GeneralRe: Not null check Pin
Eddy Vluggen7-Jan-11 8:34
professionalEddy Vluggen7-Jan-11 8:34 
GeneralRe: Not null check Pin
Keith Barrow7-Jan-11 4:24
professionalKeith Barrow7-Jan-11 4:24 
GeneralRe: Not null check Pin
fjdiewornncalwe5-Jan-11 3:44
professionalfjdiewornncalwe5-Jan-11 3:44 
GeneralRe: Not null check Pin
Ciumac Sergiu5-Jan-11 5:03
Ciumac Sergiu5-Jan-11 5:03 
GeneralRe: Not null check Pin
GibbleCH5-Jan-11 8:50
GibbleCH5-Jan-11 8:50 
GeneralIsNullOrEmpty Pin
AspDotNetDev30-Dec-10 8:23
protectorAspDotNetDev30-Dec-10 8:23 
GeneralRe: IsNullOrEmpty [modified] Pin
OriginalGriff30-Dec-10 10:23
mveOriginalGriff30-Dec-10 10:23 
GeneralRe: IsNullOrEmpty Pin
AspDotNetDev30-Dec-10 11:29
protectorAspDotNetDev30-Dec-10 11:29 
GeneralRe: IsNullOrEmpty Pin
OriginalGriff30-Dec-10 21:01
mveOriginalGriff30-Dec-10 21:01 

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.