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

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Oct 16 23:06:17 CEST 2009


2009/10/16 Alexander Klenin <klenin at gmail.com>:
> "Class sealing allows extension of classes within a package, but
> prevent clients from extending such classes outside of the package."
> This might actually make some sense, see e.g. TBasicChartSeries class
> in TAChart package.

As I said in my earlier reply. I don't see the point of sealed class.
Why would you want to limit the use of a class. It goes against the
OOP principals. One developer cannot think of all possible uses for a
class, so why limit other developers that could see other uses or
extensions.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list