Click here to Skip to main content
15,885,244 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: Why do engineers insist on complexity? Pin
BobJanova5-Dec-12 1:22
BobJanova5-Dec-12 1:22 
GeneralRe: Why do engineers insist on complexity? Pin
Roger1655-Dec-12 2:26
Roger1655-Dec-12 2:26 
GeneralRe: Why do engineers insist on complexity? Pin
RafagaX5-Dec-12 5:03
professionalRafagaX5-Dec-12 5:03 
GeneralRe: Why do engineers insist on complexity? Pin
Member 45591065-Dec-12 6:00
Member 45591065-Dec-12 6:00 
GeneralRe: Why do engineers insist on complexity? Pin
patbob5-Dec-12 6:04
patbob5-Dec-12 6:04 
GeneralRe: Why do engineers insist on complexity? Pin
Freak305-Dec-12 22:45
Freak305-Dec-12 22:45 
GeneralRe: Why do engineers insist on complexity? Pin
Nemanja Trifunovic8-Dec-12 3:08
Nemanja Trifunovic8-Dec-12 3:08 
GeneralLocalization is great Pin
Bernhard Hiller29-Nov-12 21:53
Bernhard Hiller29-Nov-12 21:53 
We are running a Jenkins service for automatically building our projects and also our setups (with a call to Visual Studio's command line). Now, one of the setups failed. I scrutinized the output for finding the reason - but no, everything was marked fine. At least I thought so when I searched for "Fehler" (German word for "error"), since the entries were like e.g. "51 erfolgreich, Fehler bei 0," or "0 Fehler, 1 Warnungen" just everywhere. Why did it fail then?
Well, I tried the a search for "error" - and voilà here it is: "error MSB3104: Die referenzierte <Path-to-some\Other.dll>-Assembly wurde nicht gefunden..." The error message is available in a nice mixture of German and English.
Great idea: if something goes wrong, use the English term "error", otherwise use German.
GeneralRe: Localization is great Pin
Brisingr Aerowing30-Nov-12 4:13
professionalBrisingr Aerowing30-Nov-12 4:13 
GeneralTry/catch block... PinPopular
Thomas Daniels18-Nov-12 3:28
mentorThomas Daniels18-Nov-12 3:28 
GeneralRe: Try/catch block... PinPopular
RugbyLeague18-Nov-12 3:57
RugbyLeague18-Nov-12 3:57 
GeneralRe: Try/catch block... Pin
Thomas Daniels18-Nov-12 3:59
mentorThomas Daniels18-Nov-12 3:59 
GeneralRe: Try/catch block... Pin
_Vitor Garcia_21-Nov-12 3:31
_Vitor Garcia_21-Nov-12 3:31 
GeneralRe: Try/catch block... Pin
Mark_Wallace19-Nov-12 1:19
Mark_Wallace19-Nov-12 1:19 
GeneralRe: Try/catch block... Pin
Thomas Daniels20-Nov-12 6:26
mentorThomas Daniels20-Nov-12 6:26 
GeneralRe: Try/catch block... Pin
Brisingr Aerowing20-Nov-12 11:45
professionalBrisingr Aerowing20-Nov-12 11:45 
JokeRe: Try/catch block... PinPopular
Bernhard Hiller19-Nov-12 22:56
Bernhard Hiller19-Nov-12 22:56 
GeneralRe: Try/catch block... PinPopular
Richard Deeming20-Nov-12 1:37
mveRichard Deeming20-Nov-12 1:37 
GeneralRe: Try/catch block... Pin
Bernhard Hiller20-Nov-12 4:36
Bernhard Hiller20-Nov-12 4:36 
GeneralRe: Try/catch block... Pin
acomputerdog21-Nov-12 2:16
professionalacomputerdog21-Nov-12 2:16 
GeneralRe: Try/catch block... Pin
Richard Deeming21-Nov-12 2:23
mveRichard Deeming21-Nov-12 2:23 
GeneralRe: Try/catch block... Pin
acomputerdog21-Nov-12 2:27
professionalacomputerdog21-Nov-12 2:27 
GeneralRe: Try/catch block... Pin
Reese Currie21-Nov-12 2:52
Reese Currie21-Nov-12 2:52 
GeneralRe: Try/catch block... Pin
bkebamc21-Nov-12 5:17
bkebamc21-Nov-12 5:17 
GeneralRe: Try/catch block... Pin
H.Brydon21-Nov-12 16:34
professionalH.Brydon21-Nov-12 16:34 

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.