Re: Try/Catch
- Posted by dcuny Feb 09, 2015
- 4861 views
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