← Back to team overview

kicad-developers team mailing list archive

Re: Decoupling issues with python

 


>  Polymorphism is only helpful when you have two similar behaviors
> in the *same* link image.


Oops, this may not be the only case.  You can also use polymorphism across link image
boundaries, so long as you can preserve a common inheritance tree within that single process.

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?




Follow ups

References