* T L <tapir....@gmail.com> [161109 11:57]:
> yes, := can be avoided totally.
> but := really has some benefits.
> 
> The contradiction is the short form is 80% good with 20% bad side effects.

I disagree.  I saves three characters and in doing so adds much more
cognitive load to distinguish declaration from assignment.  It is useful
in the condition expressions in if and for statements, but in many cases
it is easy to avoid.  I say it is 20% good and 80% bad.

...Marvin

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to