Marco van de Voort wrote:

Lukas Gebauer wrote:


Look to next Pascal language enhancements in Delphi-2006... (like operator overloads or class variables...)
we already have them in free pascal for a couple of years iirc and I've
never used them.


That's because they are quite limited if you have dynamic, non garbage collected
objects.

Why? Use them with interfaces if you need garbage collection and it works perfectly.


For .NET that is no problem, since the objects are GCed, and for C++ they are 
static.

But for native Delphi, there is no good solution to do OO without a thick
helper layer.

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


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

Reply via email to