On Fri, Jun 6, 2014 at 1:58 PM, Jean de Klerk <
jade...@gmail.com> wrote:
> Well, yes... But the point of the question is not about programming style,
> it's about learning more about Go. :)
>
> And, for the record, here is perhaps a better example showing that the
> goroutine uses a (presumedly) pass-by-value when we hand it a variable, as
> opposed to using the "parent" function when we give it no variable:
>
http://play.golang.org/p/PpqIpl38AJ.
>
> If it can do both depending on whether or not you give it the variable, does
> it not make sense that there would be some kind of tool (again, like parent
> or self or super) to manually look up the chain instead of using the most
> locally defined?