Click here to Skip to main content
15,881,794 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: 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 
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 
On the one hand, it's good to continually look for ways to code elegantly in the place you find yourself. On the other hand, there's no shame in keeping it simple and programming in a way that is mutually recognizable across a number of languages. If the language-neutral version is hard to understand and you learn a better way in the language, just refactor it. Changing to something simpler and smaller is generally safer than the long slow trudge in the other direction that any code base tends to make over the years. Smile | :)

I never saw much point in someone saying "I'm a C# developer" or "I'm a Java developer" or "I'm a C++ developer", like a single platform was a career or something. A successful career will outlive anything specific we know. The real deal is in a deep understanding of the patterns of design and usage that apply across platforms and being curious enough to learn what you would use to express them on several common ones and at least one emerging one.
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 
GeneralRe: the outsourcing curse strikes again!! Pin
Wes Aday18-Apr-12 7:32
professionalWes Aday18-Apr-12 7:32 
GeneralRe: the outsourcing curse strikes again!! Pin
S@53K^S18-Apr-12 9:26
S@53K^S18-Apr-12 9:26 
GeneralRe: the outsourcing curse strikes again!! Pin
Brad Stiles18-Apr-12 1:31
Brad Stiles18-Apr-12 1:31 
GeneralRe: the outsourcing curse strikes again!! Pin
RobCroll18-Apr-12 2:13
RobCroll18-Apr-12 2:13 

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.