Click here to Skip to main content
15,880,427 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: Quick Nap Pin
Albert Holguin24-Apr-12 8:54
professionalAlbert Holguin24-Apr-12 8:54 
GeneralRe: Quick Nap Pin
PIEBALDconsult24-Apr-12 11:58
mvePIEBALDconsult24-Apr-12 11:58 
GeneralDoh! PinPopular
Bert Mitton23-Apr-12 1:52
professionalBert Mitton23-Apr-12 1:52 
GeneralRe: Doh! Pin
Brisingr Aerowing23-Apr-12 2:16
professionalBrisingr Aerowing23-Apr-12 2:16 
GeneralRe: Doh! Pin
BillW3323-Apr-12 6:00
professionalBillW3323-Apr-12 6:00 
GeneralRe: Doh! Pin
ekolis23-Apr-12 8:05
ekolis23-Apr-12 8:05 
GeneralWhy did I do that? Pin
Benaiah Mischenko18-Apr-12 9:17
Benaiah Mischenko18-Apr-12 9:17 
GeneralRe: Why did I do that? Pin
CDP180218-Apr-12 9:58
CDP180218-Apr-12 9:58 
That happens to everyone. When I started with WinForms the first thing I did was write a nice class for linked lists. And then had my facepalm moment when I discovered the the System.Collections namespace Smile | :)

To my defense: I used to work with C++ before and was used to be on my own for such things. Still, the class did its job and was a nice exercise to get used to managed references and garbage collection. And it gave me some impression about what kind of performance to expect from managed code.
At least artificial intelligence already is superior to natural stupidity



GeneralRe: Why did I do that? Pin
yiangos23-Apr-12 22:36
professionalyiangos23-Apr-12 22:36 
GeneralRe: Why did I do that? Pin
BillW3322-Apr-12 2:23
professionalBillW3322-Apr-12 2:23 
GeneralRe: Why did I do that? Pin
CDP180222-Apr-12 6:01
CDP180222-Apr-12 6:01 
GeneralRe: Why did I do that? Pin
Lutosław23-Apr-12 6:39
Lutosław23-Apr-12 6:39 
GeneralRe: Why did I do that? Pin
Lupestro24-Apr-12 5:15
Lupestro24-Apr-12 5:15 
GeneralRe: Why did I do that? Pin
BobJanova22-Apr-12 22:44
BobJanova22-Apr-12 22:44 
GeneralRe: Why did I do that? Pin
grralph123-Apr-12 23:56
grralph123-Apr-12 23:56 
GeneralRe: Why did I do that? Pin
CDP180224-Apr-12 0:07
CDP180224-Apr-12 0:07 
Generalthe outsourcing curse strikes again!! PinPopular
I.explore.code17-Apr-12 11:34
I.explore.code17-Apr-12 11:34 
GeneralRe: the outsourcing curse strikes again!! Pin
AspDotNetDev17-Apr-12 12:10
protectorAspDotNetDev17-Apr-12 12:10 
GeneralRe: the outsourcing curse strikes again!! Pin
I.explore.code17-Apr-12 21:55
I.explore.code17-Apr-12 21:55 
GeneralRe: the outsourcing curse strikes again!! Pin
AspDotNetDev18-Apr-12 4:29
protectorAspDotNetDev18-Apr-12 4:29 
GeneralRe: the outsourcing curse strikes again!! Pin
ii_noname_ii18-Apr-12 1:57
ii_noname_ii18-Apr-12 1:57 
GeneralRe: the outsourcing curse strikes again!! Pin
Mohibur Rashid17-Apr-12 15:48
professionalMohibur Rashid17-Apr-12 15:48 
GeneralRe: the outsourcing curse strikes again!! Pin
I.explore.code17-Apr-12 21:57
I.explore.code17-Apr-12 21:57 
GeneralRe: the outsourcing curse strikes again!! Pin
Mohibur Rashid18-Apr-12 20:55
professionalMohibur Rashid18-Apr-12 20:55 
GeneralRe: the outsourcing curse strikes again!! Pin
Wes Aday17-Apr-12 16:05
professionalWes Aday17-Apr-12 16:05 

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.