Click here to Skip to main content
15,902,114 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: Catch an Exception... then throw it? Pin
mindserve19-Dec-10 13:00
mindserve19-Dec-10 13:00 
GeneralRe: Catch an Exception... then throw it? Pin
musefan30-Nov-10 2:53
musefan30-Nov-10 2:53 
GeneralIs this how we deprecate now? PinPopular
TheyCallMeMrJames26-Nov-10 5:48
TheyCallMeMrJames26-Nov-10 5:48 
GeneralRe: Is this how we deprecate now? Pin
oggenok6426-Nov-10 10:37
oggenok6426-Nov-10 10:37 
GeneralRe: Is this how we deprecate now? Pin
StM0n28-Nov-10 0:16
StM0n28-Nov-10 0:16 
GeneralRe: Is this how we deprecate now? Pin
PIEBALDconsult29-Nov-10 14:46
mvePIEBALDconsult29-Nov-10 14:46 
GeneralRe: Is this how we deprecate now? Pin
Mario Majčica27-Dec-10 2:12
professionalMario Majčica27-Dec-10 2:12 
GeneralBrand new horrors post Halloween :) Pin
Ashish Kaila23-Nov-10 5:34
Ashish Kaila23-Nov-10 5:34 
Seriously if I could post code reviews I do for people around at work, I wouldn't have write it all here... So here are new ramblings for today I am doing after reviewing code for few devs in the team (disclaimer: I have not hired them personally; If given a chance I won't keep them neither)....

1. This one guy makes everything a singleton class uses also singleton Smile | :) . Basically he reduced our codebase to only one instance per class for each class!
2. Another developer puts in file stream closing logic in dragdrop behavior Smile | :) .
3. Third developer, instead of using command bindings in WPF goes around finding radio and list boxes and their properties to manipulate logic. This is after he used MVVM for a long time.
4. My manager never takes my input or asks me to interview people technically at work. For the last 3 years I have been regarded as best performer in the group with 2 promotions behind me. We do have substandard developers in the group which clearly shows in their work and attitude.

Thats all for today Smile | :) . If you do not know programming but are interested in hockey or mustache competition; I strongly advise you to send a resume to my manager. Rest assured your career will grow like taxes in Canada !
Ashish Kaila

GeneralRe: Brand new horrors post Halloween :) Pin
GibbleCH23-Nov-10 7:56
GibbleCH23-Nov-10 7:56 
GeneralRe: Brand new horrors post Halloween :) Pin
AspDotNetDev23-Nov-10 10:00
protectorAspDotNetDev23-Nov-10 10:00 
GeneralRe: Brand new horrors post Halloween :) Pin
Keith Barrow23-Nov-10 10:30
professionalKeith Barrow23-Nov-10 10:30 
GeneralRe: Brand new horrors post Halloween :) Pin
AspDotNetDev23-Nov-10 11:49
protectorAspDotNetDev23-Nov-10 11:49 
GeneralRe: Brand new horrors post Halloween :) Pin
fjdiewornncalwe24-Nov-10 2:17
professionalfjdiewornncalwe24-Nov-10 2:17 
GeneralVS 2010 and CTRL+Backspace fun Pin
Lutosław19-Nov-10 9:02
Lutosław19-Nov-10 9:02 
GeneralRe: VS 2010 and CTRL+Backspace fun Pin
fjdiewornncalwe19-Nov-10 9:27
professionalfjdiewornncalwe19-Nov-10 9:27 
GeneralRe: VS 2010 and CTRL+Backspace fun Pin
Shahriar Iqbal Chowdhury/Galib19-Nov-10 10:04
professionalShahriar Iqbal Chowdhury/Galib19-Nov-10 10:04 
GeneralDalek Dave Pin
AspDotNetDev19-Nov-10 7:48
protectorAspDotNetDev19-Nov-10 7:48 
GeneralRe: Dalek Dave Pin
BillW3319-Nov-10 7:58
professionalBillW3319-Nov-10 7:58 
GeneralRe: Dalek Dave Pin
AspDotNetDev19-Nov-10 8:28
protectorAspDotNetDev19-Nov-10 8:28 
GeneralRe: Dalek Dave Pin
BillW3320-Nov-10 9:53
professionalBillW3320-Nov-10 9:53 
GeneralRe: Dalek Dave Pin
Support_Team29-Nov-10 23:28
Support_Team29-Nov-10 23:28 
GeneralMessageBoxes Don’t Belong In Drivers PinPopular
_Erik_19-Nov-10 5:16
_Erik_19-Nov-10 5:16 
GeneralRe: MessageBoxes Don’t Belong In Drivers Pin
BillW3320-Nov-10 10:35
professionalBillW3320-Nov-10 10:35 
GeneralThe world of acronyms PinPopular
Ashish Kaila16-Nov-10 8:21
Ashish Kaila16-Nov-10 8:21 
GeneralRe: The world of acronyms Pin
AspDotNetDev16-Nov-10 8:43
protectorAspDotNetDev16-Nov-10 8:43 

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.