2 ms·
Modifying behavior only by subclassing rather than changing the code was the original idea of the open/closed principal. Of course, the idea has drifted a bit s
by plorkyeran 11y ago
Modifying behavior only by subclassing rather than changing the code was the original idea of the open/closed principal. Of course, the idea has drifted a bit since then since everyone discovered that in practice it worked terribly.