Re: Try/Catch

new topic     » goto parent     » topic index » view thread      » older message » newer message
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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu