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

Frankly I'd kill for go statements to be expressions, which essentially solves this.

    foo := if a { b } else { c }



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: