Hacker News new | ask | show | jobs
by amitutk 2165 days ago
Yes, the else keyword is not intuitive. The best way to remember for/else is for/nobreak
1 comments

Right! nobreak would make it much clearer.
It would involve adding a new keyword to the language though. I imagine there was some desire to avoid that.