I have been following the various proposals for changing error handling in 
Go since the beginning. Recently I've decided I probably would not use them 
and I would stick with the explicit error checking. While verbose and 
repetitive, in my opinion it is the easiest to read and understand.

I've begun to wonder why the language should be changed when we could just 
make it easy for editors to anticipate the need for the boilerplate and 
provide it. Others have mentioned macros, and for me that solves the 
repetition and keyboarding issues.

My vote is to not change the language, but to change the editors (or even 
gofmt).

Jon

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/487c8495-241a-48c9-b7b0-a14dc9d0c38c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to