Graeme Geldenhuys schrieb: > Hi, > > What are your feelings about the use of Variants? I'm debating this > in another NG and would like some outside opinion. > > My personal opinion on Variants:
Variant based code is a nightmare to maintain. Just let somebody else extend some variant based code. How should he know what a variant could contain at a certain place? Such extensions are simply very error prone to rte because of type mistaches. Variants are a step back to assembler level: there you work also basically with typeless memory locations and other people have to guess what a memory location could contain. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives