Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Your solution doesn't short-circuit when any of the calls fail. It relies on (error) throwing some kind of exception to interrupt control flow and prevent the following lines from executing.


Yes; I'm using ANSI CL syntax/semantics. error denotes cl:error which can in fact be relied upon to throw. That's what I mean by "given the existence of exception handling ...".

Substitute your favorite dialect's error thrower.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: