[fpc-pascal] with statement using mulltiple objects
philippe at quarta.com.br
Sun Sep 14 15:24:08 CEST 2014
I like "with"!!!! ... even it may give trouble times to
times!!! ... but I work alone on my programs ...
as always ... nothing
perfect! .... always should consider the conditions!!
09:30, Michael Thompson escreveu:
>> We have spend weeks (if not
months) off hunting down this kind of bugs.
>> And its this kind of bug
what showed up frequently in teams of
>> programmers and that made us
decide to ban the with statement as much
>> as possible. Sooner or later
the with stament is going to bite you, I
>> just hope you wont have to
spend that much time on resolving it ;(
> +1. With statement was
banned at my old job as well for exactly the reasons stated (by everyone
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal