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

Status
Not open for further replies.
A

agent_008_nl

Guest
I still do not have much time. I'm not using OE at the moment, just interested in errorhandling. I could write a lot about EH. MS warns: >>> Do Not Use Exceptions to Control Application Flow >>> Throwing exceptions is expensive. Do not use exceptions to control application flow. If you can reasonably expect a sequence of events to happen in the normal >>> course of running code, you probably should not throw any exceptions in that scenario. docs.microsoft.com/.../da0007-avoid-using-exceptions-for-control-flow The man that wrote hackernoon.com/the-throw-keyword-was-a-mistake-l9e532di has very valid points.

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