|
|
|
|
|
by garethrowlands
1918 days ago
|
|
It has a fair bit to do with tooling. For example, C++ suffers from the fragile base class problem and some changes can cause long compile times. Nowadays, we have tests and deployment pipelines that are explicitly designed to let us make and deploy changes safely. Honestly, if you cannot change your code, you have a problem. |
|
https://drive.google.com/file/d/0BwhCYaYDn8EgN2M5MTkwM2EtNWF...
Flipping it around, if base libraries were to be always open for modification instead of extension, then instead of writing your feature logic in your own codebase, you might be tempted to submit a pull request to React.js to add your feature logic. That sounds ridiculous but that's the equivalent of what I see a lot of new engineers do when they try to fit the feature logic they need to implement anywhere it makes sense, often in some shared library in the same codebase.