DEV Community

Discussion on: My Favorite Go 2 Proposals

Collapse
 
vkuznecovas profile image
Viktoras

I'm a fan of fixing the casing issues, but not too big of a fan of the other two. Mainly because it feels like those two proposals add syntactic sugar in order to achieve brevity. I do believe verbosity is one of the reasons I like Go so much. You spend most of the day thinking, not writing code. Making it easier to read and understand is a plus for me. Having more constructs does add to more confusion while reading IMHO.

Collapse
 
dean profile image
dean

I totally agree with verbosity being important in Go. I think the collect is my least favorite of the three, I personally don't mind the if err != nil pattern that much. I like the idea of interface literals though, I feel like needing my code to be separate from where I use it is a bit much.