> Op Tue, 5 Feb 2008, schreef Luiz Americo Pereira Camara:
> > Moreover, whats the difference between objects and records with methods 
> > (the 
> > new Delphi feature)?
> 
> Objects can have virtual methods, constructors, destructors. The new 
> Delphi feature cannot.

The records-with-methods feature originates from .NET, but some cases were
made that they were also added to restrict the search for methods for
duck-type style other new delphi features like for..in, and similar future
expansion. Probably when these features are more closely regarded,
additional reasons/behaviour will pop up.

A very rough summary of the msgs and (IRC-)discussions about the newer delphi
features can be found here:

http://www.stack.nl/~marcov/delphilater.txt

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to