lua-users home
lua-l archive

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


>>> adrian_groups@sietsma.com 01/16/05 04:30PM >>>
> i've sometimes thought about a "with" construction (implemented using

> setfenv, i suppose). 

I've done a lot of code in Pascal over the years, and I definitely
over-used 'with'.  If you get into the habit of nesting 'with', 
eventually most people will have no clue as to what
scope a variable reference belongs to.

So I'm a convert to explicit 'self.' references.  Any good
editor can be taught to make that a one-keystroke
operation.

steve d.