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

> but its not needed

Depends. It's needed for non-local returns (returning from within blocks), and it's also useful for early returns within methods.

It's not needed for the final return of a method, or a normal exit from a block (not a bad thing in my opinion, and Python's lambda do the same)



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

Search: