Vote UpVote

WITH IS EVIL! (via: Paul Foster – Google+)

The Wiert Corner – Yet another example of somehow who got bitten hard by using the with statement (I decided to give with its own category on my blog). This time it got shared by Paul Foster on G+ and comes down to this: Even in unsuspiciously looking code, the wit statement can bite you, especially if you need to do refactoring and (because of that) introduce two names in the same scope. Or in Paul‘s words: Whilst upgrading the code to remove the Containers unit (its not supported on NextGen platforms, so I have to make things work with Generics.Collections instead, (bye bye D7 support for this code) and ...
Favorite? Off-Topic? Jeroen Pluimers @ 2014-03-13 14:55


Visits: 1323
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Yogi Yang
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)