← Back to team overview

kicad-developers team mailing list archive

Re: Decoupling issues with python


On 08/15/2012 12:21 AM, Lorenzo Marcantonio wrote:
> On Tue, Aug 14, 2012 at 04:39:40PM -0500, Dick Hollenbeck wrote:
>> We have polymorphism posturing across process boundaries, and of course that cannot work. 
>> So why a base class with virtual functions, e.g. BASE_SCREEN?
> We also have the common code built differently depending on the user
> unit for pcbnew and eeschema, too :(

This is fine, my idea in fact.  CERN is paying to have this done, it is just another stage
in decoupling.

The things that need to be common should be pulled out into finer granularity classes like
GRID rather than BASE_SCREEN.

Or made into templates.