Click here to Skip to main content
15,881,380 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.

 
JokeRe: Exception handling Pin
Sander Rossel4-Mar-11 8:41
professionalSander Rossel4-Mar-11 8:41 
GeneralRe: Exception handling Pin
Bernhard Hiller4-Mar-11 4:37
Bernhard Hiller4-Mar-11 4:37 
GeneralRe: Exception handling Pin
Dalek Dave4-Mar-11 13:23
professionalDalek Dave4-Mar-11 13:23 
GeneralRe: Exception handling Pin
Jörgen Andersson6-Mar-11 20:09
professionalJörgen Andersson6-Mar-11 20:09 
GeneralRe: Exception handling Pin
Ramalinga Koushik11-Mar-11 0:33
Ramalinga Koushik11-Mar-11 0:33 
GeneralRe: Exception handling Pin
Ramalinga Koushik11-Mar-11 0:32
Ramalinga Koushik11-Mar-11 0:32 
GeneralRe: Exception handling Pin
RobCroll4-Mar-11 15:52
RobCroll4-Mar-11 15:52 
GeneralRe: Exception handling Pin
Sander Rossel6-Mar-11 12:31
professionalSander Rossel6-Mar-11 12:31 
Two days to track down an exception WTF | :WTF:
There is an option in Visual Studio that takes you to the specific line of code where the exception occured as soon as it occurs (so when in debug mode). Not sure where to find it, but my keyboard shortcut is ctrl + alt + e (but that may vary per country or VS) Thumbs Up | :thumbsup:
Of course I have no idea if other programs have it too.
Excellent article btw! Thumbs Up | :thumbsup:
It's an OO world.

GeneralRe: Exception handling Pin
RobCroll6-Mar-11 15:29
RobCroll6-Mar-11 15:29 
GeneralRe: Exception handling Pin
Sander Rossel6-Mar-11 20:16
professionalSander Rossel6-Mar-11 20:16 
GeneralRe: Exception handling Pin
Quirkafleeg15-Mar-11 1:23
Quirkafleeg15-Mar-11 1:23 
GeneralRe: Exception handling Pin
RobCroll15-Mar-11 1:57
RobCroll15-Mar-11 1:57 
GeneralRe: Exception handling Pin
Member 9615-Mar-11 12:04
Member 9615-Mar-11 12:04 
GeneralUnnecessary Commented Code Pin
Monjurul Habib3-Mar-11 10:21
professionalMonjurul Habib3-Mar-11 10:21 
GeneralRe: Unnecessary Commented Code Pin
fjdiewornncalwe3-Mar-11 10:25
professionalfjdiewornncalwe3-Mar-11 10:25 
GeneralRe: Unnecessary Commented Code Pin
Monjurul Habib4-Mar-11 7:50
professionalMonjurul Habib4-Mar-11 7:50 
GeneralRe: Unnecessary Commented Code Pin
Jeroen De Dauw3-Mar-11 15:02
Jeroen De Dauw3-Mar-11 15:02 
GeneralRe: Unnecessary Commented Code Pin
Sander Rossel3-Mar-11 23:17
professionalSander Rossel3-Mar-11 23:17 
GeneralRe: Unnecessary Commented Code Pin
Rod Kemp4-Mar-11 1:44
Rod Kemp4-Mar-11 1:44 
GeneralRe: Unnecessary Commented Code Pin
jschell5-Mar-11 8:29
jschell5-Mar-11 8:29 
GeneralRe: Unnecessary Commented Code Pin
thatraja8-Mar-11 1:45
professionalthatraja8-Mar-11 1:45 
GeneralRe: Unnecessary Commented Code Pin
BillW3314-Mar-11 7:47
professionalBillW3314-Mar-11 7:47 
GeneralRe: Unnecessary Commented Code Pin
drummerboy051125-Mar-11 12:28
professionaldrummerboy051125-Mar-11 12:28 
GeneralRe: Unnecessary Commented Code Pin
Falterfire13-Jul-11 5:28
Falterfire13-Jul-11 5:28 
GeneralComment [modified] Pin
Monjurul Habib3-Mar-11 9:58
professionalMonjurul Habib3-Mar-11 9:58 

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.