lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Sep 9, 2011 at 8:22 AM, Miles Bader <miles@gnu.org> wrote:
> Yeah, and "tuple based" MRV tend to have a very different ("more rigid")
> feel than the looser MRV in languages like Lua and CL, and I think the
> two styles often result in significantly different usage.

Go is fairly strict about multiple assignment, so you will see things like this:

   v, _ := something()

because the var list has to be the same length as the number of returned values.

Using _ like this seemed very suggestive to me ;)

steve d