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.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel