Re: Try/Catch
- Posted by jimcbrown (admin) Jan 13, 2015
- 5036 views
Spock said...
You misunderstand.
Okay... I'll give this a shot.
Spock said...
However, an exceptable situation already has a check inside the internal routine which, in the suggested scheme of things, will default to a 'safe' behaviour instead of crashing. That doesn't solve the program error in the first place but it can alert us to the fact.
How? How does it alert us to the fact that the situation occurred?
Spock said...
So how is try/catch better?
If one forgets to use it, then one is alerted to this fact when the relevant situtation occurs.