lua-users home
lua-l archive

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


> >>Would Roberto maybe admit that if he was redesigning Lua from scratch 
> >>today variables would be local by default and global by declaration? If 
> >>not, why not?
> >
> >No. It is simply wrong.
> 
> What is wrong? What John wrote? The old design choice?

Local by default is wrong. Maybe global by default is also wrong (as
David just wrote), but the solution is not local by default.

-- Roberto