[fpc-devel] class abstract, class sealed implementation. please review.

Paul Ishenin ip at kmiac.ru
Mon Oct 19 11:39:44 CEST 2009


dmitry boyarintsev wrote:
> Please forgive me my ignorance, but what is advantage of using sealed classes?
> Personally, i see no advantage of forbidding inheritance of some class.
> 
> What should be the **proper** use of sealed classes and class helpers?
> 
> Please note, i'll probably copy-paste all answers to the wiki.

If you want to get all pros and contras please read the full thread.

If you want only aggregation, read this: 
http://lists.freepascal.org/lists/fpc-devel/2009-October/017840.html

Best regards,
Paul Ishenin.




More information about the fpc-devel mailing list