[Lazarus] 'with' is evil, isn't it?
Michael Schnell
mschnell at lumino.de
Wed Aug 3 13:55:52 CEST 2011
On 08/03/2011 06:50 AM, Max Vlasov wrote:
>
> 1. Introducing a check in the compiler setting (or a conditional
> define) that could force the developer to use self inside 'with'
> constructions
As you can consider any class functions code to be implicitly included
in a "with self" clause this could be done more generally: using an
"naked" identifier that is specified by multiple (nested) "with"s.
-Michael
More information about the Lazarus
mailing list