Re: Standard library praise and challenge
- Posted by euphoric (admin) Sep 20, 2011
- 2763 views
SDPringle said...
- EUPHORIA's routines tend to die rather than give an error code when given bad parameters. Let's be consistent here. In general I prefer to see an error code but there is no way to tell an error code from a result here.
I think value() provides an error code, so there is a precedent.
result = { [NOT] SUCCESS, 23 } -- one way to do it
I suspect Derek expects an exceptions feature to eventually handle all this, but for now...?