4 ms·
I do that as well, but I have eventually managed to train myself to do the hard-coded version first, find out I need to make it more generic anyway and thus val
by tomashubelbauer 3y ago
I do that as well, but I have eventually managed to train myself to do the hard-coded version first, find out I need to make it more generic anyway and thus validate the need for the genericity, but also at that point I have a much better understanding what exactly benefits from being flexible and where I can take some shortcuts compared to what in my mind is the perfect design. That way I end up building something in between which usually works quite well and I am pleased with.
- thom 3y agoYeah, it's often better to _extract_ abstractions rather than to try and predict them correctly on a blank screen.
- sitkack 3y agoThis is a great technique. But one also has to be cognizant of not over factoring the resulting program once it is “done”.
- tanseydavid 3y agoThe adage "Use before Re-Use" has been very helpful to me in dealing with this issue.