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

I would say that the main benefit of for/else is readability and ease of writing since nothing needs to be front-loaded. (The downside is an arguably redundant addition to the basic syntax, of course.)


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

Search: