3 ms·
Defer all decisions until you have to make them. Leave the code in a state where it's understandable. ie don't over specify - not just simple things like inte
by DrScientist 7y ago
Defer all decisions until you have to make them.
Leave the code in a state where it's understandable.
ie don't over specify - not just simple things like interfaces, but also things like premature decomposition, that's exposed at the higher level for configurability.
While on the face of it, having everything as small interacting functions means to change any function is quite easy, changing overall behaviour might be very hard - hard to understand all the moving parts, and even worse, if the code split is wrong for future needs, very hard to change.