3 ms·
Yeah, that's why I talk about stealing it at the language level. Although it's possible to use this based on conventions, the real power comes from being able t
by awj 15y ago
Yeah, that's why I talk about stealing it at the language level. Although it's possible to use this based on conventions, the real power comes from being able to use it to cover weird conditions while gluing various libraries together. If your language already has a relatively similar tool (i.e. "traditional" exceptions) there's basically no chance that anything you pick up will support conditions.
That said, it's a wonderful model to know about/follow if you come into the rare case that makes reimplementing it where you can useful.
- sedachv 15y agoThis is true for Common Lisp libraries as well - if they don't offer restarts and just throw exceptions, it looks like it does in any other language. Developing a good protocol for signalling and handling errors takes work.