On 21.09.2014 20:28, Boian Mitov wrote:
Ahh... the schizophrenic nature of Object Pascal :-D, I never understood why interface and class should be different at first place, considering that interface is practically nothing more than pure abstract class with ref. counting. Why the separated syntax etc. is beyond me... Surely helps with the language keyword pollution....
It's different, because interfaces were originally introduced to support interfacing with COM and the automatic reference counted was just added as a big pile of sugar to simplyfy development in context with COM. Because in C++ you have to call AddRef and Release yourself...
Regards, Sven _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel