[Lazarus] 'with' is evil, isn't it?

Michael Schnell mschnell at lumino.de
Wed Aug 3 17:33:49 CEST 2011


On 08/03/2011 04:59 PM, Lukasz Sokol wrote:
>
> Except that a here is _not_really_ _any_ variable... and neither it should be.
>
As already said the compiler optimization should be able to do away with 
unnecessary variable (or introduce hidden variables if necessary).

But OTOH I am not convinced that allowing for C-like defining of 
variables anywhere in the code is really a good idea.

-Michael




More information about the Lazarus mailing list