Click here to Skip to main content
11,491,459 members (73,228 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: Try/catch block... Pin
ProgramFOX20-Nov-12 7:26
memberProgramFOX20-Nov-12 7:26 
GeneralRe: Try/catch block... Pin
Zac Greve20-Nov-12 12:45
memberZac Greve20-Nov-12 12:45 
JokeRe: Try/catch block... Pin
Bernhard Hiller19-Nov-12 23:56
memberBernhard Hiller19-Nov-12 23:56 
GeneralRe: Try/catch block... Pin
Richard Deeming20-Nov-12 2:37
memberRichard Deeming20-Nov-12 2:37 
If that's C#, it won't compile; you'll get a "Control cannot leave the body of a finally clause" compiler error.

"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Try/catch block... Pin
Bernhard Hiller20-Nov-12 5:36
memberBernhard Hiller20-Nov-12 5:36 
GeneralRe: Try/catch block... Pin
warriordog21-Nov-12 3:16
memberwarriordog21-Nov-12 3:16 
GeneralRe: Try/catch block... Pin
Richard Deeming21-Nov-12 3:23
memberRichard Deeming21-Nov-12 3:23 
GeneralRe: Try/catch block... Pin
warriordog21-Nov-12 3:27
memberwarriordog21-Nov-12 3:27 
GeneralRe: Try/catch block... Pin
Reese Currie21-Nov-12 3:52
memberReese Currie21-Nov-12 3:52 
GeneralRe: Try/catch block... Pin
bkebamc21-Nov-12 6:17
memberbkebamc21-Nov-12 6:17 

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
Web03 | 2.8.150520.1 | Last Updated 28 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid