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

Marco van de Voort marcov at stack.nl
Mon Oct 19 19:12:41 CEST 2009


In our previous episode, Florian Klaempfl said:
> > This is exactly my point about sealed classes. When you design the
> > product or class, you have NO way of know what will come in the
> > future. So you need to stay flexible to change! Yet another OOP
> > principal that "sealed" tries to prevent!
> 
> This might be true, but what's the difference with private etc.?

Private is typically used in nearly every class, sealed in exceptional
cases. At best.



More information about the fpc-devel mailing list