Click here to Skip to main content
15,884,986 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: 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 
GeneralRe: Why did I do that? Pin
yiangos23-Apr-12 22:36
professionalyiangos23-Apr-12 22:36 
Heh, yep it does happen to everyone. In my first ASP.NET projects (quite a few years back), I used a lot of string concatenations (in for loops) and data binding to literals. After a couple of projects, though, I was introduced to (a) repeaters and (b) StringBuilders, and thought that they were the best thing since sliced bread (coming from a mostly PHP background, you can get how I felt when I was showed these aspects of the framework).

Nowadays, I don't even dare to reopen those projects (and luckily most of them are already dead).
Φευ! Εδόμεθα υπό ρηννοσχήμων λύκων!
(Alas! We're devoured by lamb-guised wolves!)

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 
GeneralRe: the outsourcing curse strikes again!! Pin
S@53K^S18-Apr-12 5:22
S@53K^S18-Apr-12 5:22 

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.