On Thursday, November 10, 2016 at 1:23:33 AM UTC+8, Marvin Renich wrote: > > * T L <tapi...@gmail.com <javascript:>> [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 >
ok, 20% good, 60% general, 20% bad, :) -- 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.