Re: Try/Catch

new topic     » goto parent     » topic index » view thread      » older message » newer message
Spock said...

It would have helped to sell the idea of try/catch if there had been good examples showcasing genuine advantages (over smart status code). I don't recall seeing any.

This can't be caught with an error code:

a = s[BAD_INDEX] 

Given that Euphoria relies on sequences heavily, this is a problem.

An error of this sort can't be recovered from with error codes.

- David

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

Search



Quick Links

User menu

Not signed in.

Misc Menu