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

It's not a critique but a suggestion. Like you are saying, it is not an error, my suggestion is simply to follow the standard library.

From golang.org Effective Go: "In the Go libraries, you'll find that when an if statement doesn't flow into the next statement—that is, the body ends in break, continue, goto, or return—the unnecessary else is omitted."




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

Search: