hibtc / madgui-old

[OBSOLETE] GUI for accelerator simulations using MAD-X
MIT License
1 stars 0 forks source link

Use composition instead of inheritance #45

Closed coldfix closed 10 years ago

coldfix commented 10 years ago

There is no real reason to inherit from wxPython classes like frame/dialog/etc. Composition beats inheritance and allows dependency injection.

coldfix commented 10 years ago

Noted as a development guideline in the README [3a5924a]. Although it is not yet strictly implemented, I will close this issue, since it is too general.