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

Basically. It's a little different because you have more control. It's way too easy to assume exceptions won't happen and basically ignore them. But they happen in unexpected places (e.g. every time when dealing with IO).

Exceptions only contain a function call trace (stack of function calls), while a logical error trace is more like an explicit try/catch/wrap/throw around every call and could be more informative to the end user if done properly.



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

Search: