Click here to Skip to main content
11,411,241 members (65,519 online)

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, embarrasing 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? PinmemberRafagaX5-Dec-12 6:03 
GeneralRe: Why do engineers insist on complexity? PinmemberMember 45591065-Dec-12 7:00 
GeneralRe: Why do engineers insist on complexity? Pinmemberpatbob5-Dec-12 7:04 
GeneralRe: Why do engineers insist on complexity? PinmemberFreak305-Dec-12 23:45 
GeneralRe: Why do engineers insist on complexity? PinmemberNemanja Trifunovic8-Dec-12 4:08 
GeneralLocalization is great PinmemberBernhard Hiller29-Nov-12 22:53 
GeneralRe: Localization is great PinmemberZac Greve30-Nov-12 5:13 
GeneralTry/catch block... PinmemberProgramFOX18-Nov-12 4:28 
I found this in one of my old codes:
public string ReadFile(string filename)
          return File.ReadAllText(filename);
          return File.ReadAllText(filename);
D'Oh! | :doh:

GeneralRe: Try/catch block... PinmemberRugbyLeague18-Nov-12 4:57 
GeneralRe: Try/catch block... PinmemberProgramFOX18-Nov-12 4:59 
GeneralRe: Try/catch block... PinmemberVitorHugoGarcia21-Nov-12 4:31 
GeneralRe: Try/catch block... PinmemberMark Wallace19-Nov-12 2:19 
GeneralRe: Try/catch block... PinmemberProgramFOX20-Nov-12 7:26 
GeneralRe: Try/catch block... PinmemberZac Greve20-Nov-12 12:45 
JokeRe: Try/catch block... PinmemberBernhard Hiller19-Nov-12 23:56 
GeneralRe: Try/catch block... PinmemberRichard Deeming20-Nov-12 2:37 
GeneralRe: Try/catch block... PinmemberBernhard Hiller20-Nov-12 5:36 
GeneralRe: Try/catch block... Pinmemberwarriordog21-Nov-12 3:16 
GeneralRe: Try/catch block... PinmemberRichard Deeming21-Nov-12 3:23 
GeneralRe: Try/catch block... Pinmemberwarriordog21-Nov-12 3:27 
GeneralRe: Try/catch block... PinmemberReese Currie21-Nov-12 3:52 
GeneralRe: Try/catch block... Pinmemberbkebamc21-Nov-12 6:17 
GeneralRe: Try/catch block... PinmemberH.Brydon21-Nov-12 17:34 
GeneralRe: Try/catch block... PinmemberBernhard Hiller21-Nov-12 21:27 
GeneralRe: Try/catch block... Pinmemberlukeer22-Nov-12 22:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web01 | 2.8.150414.5 | Last Updated 26 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid