Click here to Skip to main content
15,895,746 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Dumb VB fact of the Day Pin
atverweij9-Nov-18 2:09
atverweij9-Nov-18 2:09 
GeneralRe: Dumb VB fact of the Day Pin
#realJSOP9-Nov-18 0:54
mve#realJSOP9-Nov-18 0:54 
GeneralRe: Dumb VB fact of the Day Pin
atverweij9-Nov-18 1:26
atverweij9-Nov-18 1:26 
GeneralRe: Dumb VB fact of the Day Pin
kalberts9-Nov-18 2:42
kalberts9-Nov-18 2:42 
GeneralRe: Dumb VB fact of the Day Pin
ZevSpitz12-Nov-18 5:09
professionalZevSpitz12-Nov-18 5:09 
GeneralRe: Dumb VB fact of the Day Pin
Richard Deeming9-Nov-18 1:25
mveRichard Deeming9-Nov-18 1:25 
GeneralRe: Dumb VB fact of the Day Pin
atverweij9-Nov-18 1:33
atverweij9-Nov-18 1:33 
GeneralRe: Dumb VB fact of the Day Pin
kalberts9-Nov-18 3:58
kalberts9-Nov-18 3:58 
I even make use of it! In switch statements where two or more alternatives have the same (final) handling, it can be really useful, and far safer than the silent fallthrough of classical C (which is not allowed in C#).

It lacks a builtin ComeFrom, though; I had to implement that myself. It really is a must when you do more than the elementary exception handling.If you leave the stack dump to the standard library exception handling, you won't be able to pick up the output and process it in a reasonable way.

Of course you can't make a ComeFrom without support from the runtime libary. Given the StackTrace / StackFrame classes, it is trivial.
GeneralRe: Dumb VB fact of the Day Pin
atverweij9-Nov-18 4:32
atverweij9-Nov-18 4:32 
GeneralRe: Dumb VB fact of the Day Pin
#realJSOP9-Nov-18 1:39
mve#realJSOP9-Nov-18 1:39 
GeneralRe: Dumb VB fact of the Day Pin
atverweij9-Nov-18 1:45
atverweij9-Nov-18 1:45 
GeneralRe: Dumb VB fact of the Day Pin
#realJSOP9-Nov-18 1:52
mve#realJSOP9-Nov-18 1:52 
GeneralRe: Dumb VB fact of the Day Pin
atverweij9-Nov-18 1:56
atverweij9-Nov-18 1:56 
GeneralRe: Dumb VB fact of the Day Pin
Tokinabo9-Nov-18 3:00
professionalTokinabo9-Nov-18 3:00 
GeneralRe: Dumb VB fact of the Day Pin
obermd9-Nov-18 3:01
obermd9-Nov-18 3:01 
GeneralRe: Dumb VB fact of the Day Pin
CP7779-Nov-18 3:43
CP7779-Nov-18 3:43 
GeneralRe: Dumb VB fact of the Day Pin
Slow Eddie9-Nov-18 3:13
professionalSlow Eddie9-Nov-18 3:13 
GeneralRe: Dumb VB fact of the Day Pin
#realJSOP9-Nov-18 3:47
mve#realJSOP9-Nov-18 3:47 
GeneralRe: Dumb VB fact of the Day Pin
Slow Eddie9-Nov-18 7:33
professionalSlow Eddie9-Nov-18 7:33 
GeneralRe: Dumb VB fact of the Day Pin
Matt McGuire9-Nov-18 4:35
professionalMatt McGuire9-Nov-18 4:35 
GeneralRe: Dumb VB fact of the Day Pin
#realJSOP9-Nov-18 4:59
mve#realJSOP9-Nov-18 4:59 
GeneralRe: Dumb VB fact of the Day Pin
Matt McGuire9-Nov-18 6:17
professionalMatt McGuire9-Nov-18 6:17 
GeneralRe: Dumb VB fact of the Day Pin
#realJSOP9-Nov-18 6:40
mve#realJSOP9-Nov-18 6:40 
GeneralRe: Dumb VB fact of the Day Pin
Matt McGuire9-Nov-18 7:54
professionalMatt McGuire9-Nov-18 7:54 
GeneralRe: Dumb VB fact of the Day Pin
Peter Adam9-Nov-18 5:40
professionalPeter Adam9-Nov-18 5:40 

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.