lua-users home
lua-l archive

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


Mike Pall <mikelu-1101@mike.de> writes:
> No, please don't do this. The namespace lookup will be shortcut,
> so there's no need (and in fact it's counter-productive) to keep
> local references to functions. Also, please don't keep local
> references to intermediate parts of nested arrays/structs (always
> use 'y = foo[10].x' and not: 'local s = foo[10]; ...; y = s.x')

Why is it counter-productive?  _Not_ being able to do this will be very
counter-intuitive for most programmers I think...

-Miles

-- 
My spirit felt washed.  With blood.  [Eli Shin, on "The Passion of the Christ"]