Click here to Skip to main content
15,887,683 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: I came across this one too Pin
PIEBALDconsult29-Aug-07 10:48
mvePIEBALDconsult29-Aug-07 10:48 
GeneralExcel Pin
gantww28-Aug-07 9:52
gantww28-Aug-07 9:52 
GeneralRe: Excel Pin
PIEBALDconsult28-Aug-07 10:05
mvePIEBALDconsult28-Aug-07 10:05 
AnswerRe: Excel Pin
chrishuff28-Aug-07 10:28
chrishuff28-Aug-07 10:28 
GeneralInfrastructure... just because. Pin
Rob Achmann24-Aug-07 5:47
Rob Achmann24-Aug-07 5:47 
GeneralRe: Infrastructure... just because. Pin
Lutosław25-Aug-07 8:29
Lutosław25-Aug-07 8:29 
GeneralRe: Infrastructure... just because. Pin
Burnsys228-Aug-07 2:26
Burnsys228-Aug-07 2:26 
GeneralWow Pin
eggsovereasy23-Aug-07 4:36
eggsovereasy23-Aug-07 4:36 
Every once and a while I find a little gem in my own code. I encountered this one today:

if (new Project(pid).HasSubstatus)
	useSubStatus = true;
else
	useSubStatus = false;

if (useSubStatus)
        ...

GeneralRe: Wow Pin
DavidNohejl23-Aug-07 4:57
DavidNohejl23-Aug-07 4:57 
GeneralRe: Wow Pin
eggsovereasy23-Aug-07 8:12
eggsovereasy23-Aug-07 8:12 
GeneralRe: Wow Pin
J a a n s23-Aug-07 21:25
professionalJ a a n s23-Aug-07 21:25 
GeneralRe: Wow Pin
eggsovereasy24-Aug-07 9:15
eggsovereasy24-Aug-07 9:15 
GeneralRe: Wow Pin
Lutosław25-Aug-07 8:34
Lutosław25-Aug-07 8:34 
GeneralMy boss! [modified] Pin
Burnsys218-Aug-07 14:56
Burnsys218-Aug-07 14:56 
GeneralRe: My boss! Pin
BadKarma18-Aug-07 21:27
BadKarma18-Aug-07 21:27 
GeneralRe: My boss! Pin
Pascal Ganaye20-Aug-07 3:17
Pascal Ganaye20-Aug-07 3:17 
GeneralRe: My boss! Pin
KarstenK20-Aug-07 1:21
mveKarstenK20-Aug-07 1:21 
JokeRe: My boss! Pin
martin_hughes20-Aug-07 5:29
martin_hughes20-Aug-07 5:29 
GeneralRe: My boss! Pin
StevenWalsh20-Aug-07 5:45
StevenWalsh20-Aug-07 5:45 
GeneralRe: My boss! Pin
Burnsys220-Aug-07 7:30
Burnsys220-Aug-07 7:30 
GeneralRe: My boss! Pin
Vasudevan Deepak Kumar23-Aug-07 19:59
Vasudevan Deepak Kumar23-Aug-07 19:59 
GeneralRe: My boss! Pin
Burnsys220-Aug-07 7:32
Burnsys220-Aug-07 7:32 
GeneralRe: My boss! Pin
pbraun21-Aug-07 5:29
pbraun21-Aug-07 5:29 
GeneralRe: My boss! Pin
thany.nl22-Aug-07 4:08
thany.nl22-Aug-07 4:08 
GeneralRe: My boss! Pin
Vasudevan Deepak Kumar26-Aug-07 23:42
Vasudevan Deepak Kumar26-Aug-07 23:42 

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.