From kde-core-devel Thu Mar 07 02:17:06 2002 From: Carsten Pfeiffer Date: Thu, 07 Mar 2002 02:17:06 +0000 To: kde-core-devel Subject: Re: KParts API: thinking about the future (patch) X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101550277814543 On Thursday 07 March 2002 00:43, Martijn Klingens wrote: Hi, > Yes. Private in this case might lock you down a bit too much. Still, the > rule from that web page 'almost never make virtual methods public' seems > very true for extensible API code. but having the method private is actually the point of that pattern. That a baseclass doesn't need to rely on subclasses calling it properly. But with that technique, it only works for the very superclass, but none in the middle. So there's not much, you gain. Cheers Carsten Pfeiffer