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

> I like writing “if err != nil { … }”

That idiom was my biggest turn off in learning Go.

I would be 100x happier with "if not err {...}"




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

Search: