3 ms·
> The tradeoff is that you don't get to have open classes with a module oriented approach. A module oriented approach could still have open classes, and if you
by dragonwriter 4y ago
> The tradeoff is that you don't get to have open classes with a module oriented approach.
A module oriented approach could still have open classes, and if you did an imported module could still mess with classes in other imported modules (it would just also have to import them.)
In fact, you can set variables in other modules and members (including methods) of other classes this way in Python.