Exceptions for flow of control

后端 未结 7 540
死守一世寂寞
死守一世寂寞 2021-01-20 14:59

There is an interesting post over here about this, in relation to cross-application flow of control.

Well, recently, I\'ve come across an interesting problem. Gener

7条回答
  •  天涯浪人
    2021-01-20 15:13

    Using exceptions in normal program flow in my book is one of the worst practises ever. Consider the poor sap who is hunting for swallowed exceptions and is running a debugger set to stop whenever an exception happens. That dude is now getting mad.... and he has an axe. :P

提交回复
热议问题