4 ms·
>I shouldn't have done the gymnastics to decouple them!" .. but that's a dangerous mindset to start solving the problem with. Is it, though? YAGNI comes to min
by coldtea 10y ago
>I shouldn't have done the gymnastics to decouple them!" .. but that's a dangerous mindset to start solving the problem with.
Is it, though? YAGNI comes to mind.
- TeMPOraL 10y agoMy current rule of thumb is: if I know how to write it correctly, then I write it correctly. If I don't feel confident, I write the dumbest / most direct version that works to get the feel of the "lay of the land", and then refactor it later based on the new experience.
- coldtea 10y agoI like this rule (don't remember who said it): "Write code that is easy to remove, not easy to extend".