[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: SEH: the throw keyword

Status
Not open for further replies.
M

Matt Baker

Guest
I'm with you on this on beavon. I've seen cases where exceptions impact performance because they were being suppressed and the process repeated, but this is a rare case in my experience. If exceptions are used for cases where the program needs to get out usually the performance impact doesn't matter because you're aborting the process anyway. The overhead if you don't throw an exception is almost nil in most languages. But you have to get it right and to do the unwinding of the stack correctly. This is a skill that takes practice to learn how to do properly. garbage collection helps with this and makes it easier. null pointers being accepted in the language also make this easier. But the rest is skill and program design to ensure your exception handling is side effect free.

Continue reading...
 
Status
Not open for further replies.
Top