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

You do get invalid states with exceptions in much worse way. Think exception thrown from a constructor, or, even better, from a constructor of one of the members even before the constructor's body is reached. Not to mention managing state becomes much more complicated when every statement can cause stack unwinding unexpectedly.


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

Search: