1. Because with 2 there is a problem. The method is called twice and is inefficient.
Il giorno venerdì 30 giugno 2017 11:31:31 UTC+2, Jan Mercl ha scritto: > > On Fri, Jun 30, 2017 at 9:48 AM Franco Marchesini <franco.m...@gmail.com > <javascript:>> wrote: > > > Why after the execution the k value is 2? > > What value of k do you expect instead and why? ( > https://play.golang.org/p/wdWo3fahAS) > > -- > > -j > -- 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.