As a piece of anecdotal evidence, the fact that FPC
does not "properly" support interfaces was the reason
for at least one company I worked for to reject it and move to Delphi
2007 instead
(from Delphi 7).

I can understand the reluctance to implement under-specified behavior,
but I think FPC would benefit from *some* way to specify
auto-disposed objects, even if not Delphi-compatible.

Maybe some "magic" type or a special keyword?
Maybe steal "using" statement from C#?
Or, equivalently, specify interface lifetime when used in "with"
statement?

-- 
Alexander S. Klenin
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to