3 ms·
Planning for extending the code is the wrong way to think about it. To many that means overgeneralized code, which is a terrible. The right way is to write mod
by BurningFrog 9y ago
Planning for extending the code is the wrong way to think about it. To many that means overgeneralized code, which is a terrible.
The right way is to write modular code, where each class/function has simple and clear responsibilities. In that kind of code, changes are usually isolated and clear.