On Tue, 5 Feb 2008, Tiziano De Togni wrote:

> 
> From the Delphi (7) help and in the borland newgroups I read that the old TP
> style object type is considered to disappear, and actually only kept for code
> compatibility.
> 
> I see here that some developers still use the type object because of some
> advantages against the Class type (static allocation).
> 
> Can someone explain better these advantages?

The advantage is mainly that you can have objects on the stack.

> 
> My other question is:
> Will Free Pascal still support the type object in the future or it is
> considered to disappear in the same way as it is expected in Delphi?

It will not disappear, but all new development is done using classes:
the old objects will not evolve.

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

Reply via email to