[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: OOP in daydream of nightmare of hallucination of future
- From: "Steve Donovan" <sjdonova@...>
- Date: Mon, 17 Jan 2005 13:02:35 +0200
>>> 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.