Hacker News new | comments | show | ask | jobs | submit login

In Python, you could write your snippet as a generator and not need to break up the function. It is also possible to throw exceptions into generators.



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: