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

Yep, which really explains why Go went with it. The Go authors have stated that it's designed for code to be read more than it's written, so they add verbosity in favor of clarity.


Whether that verbosity improves 'clarity' depends on what exactly you're most interested in seeing. If you primarily value being able to see the control flow for error conditions, then it does indeed improve 'clarity'.

However, regardless of what you value, that increased 'clarity' necessarily comes at the expense of the readability of the non-error control flow.




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

Search: