Re:The Zen of Go
by pm90 on Sunday February 23, 2020 @03:09PM
(#22399209)
Eh. It’s verbose but I like it. It makes me think about the code a bit when I have to write a descriptive error wrap. Kind of annoying I guess... I haven’t written ultra large go codebases though so ymmv.
[ Parent
| on HN ]
>It’s verbose but I like it. It makes me think about the code a bit when I have to write a descriptive error wrap.
Having the compiler force you, as is my suggestion, would make you think even more -- or not be able not to think and skip the error check or miss it.