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

People gripe at Go's error checking, claiming it's verbose, etc.

But, I like it. Fully and clearly expressed intent for the handling of errors.



In a programming language that allows functions with multiple return values, error values of some sort become almost natural. In Lua, the idiom of returning "nil, errormessage" on failure is very common, too.




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

Search: