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

I think one of the points of the OP's article is that in Go you don't have to code like you've done here, where a single return value means one of two things (in your example: value in the map, or special reserved value that indicates the key wasn't found in the map). Go is cleaner, even if it's just a small improvement.


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

Search: