6 ms·
There's a difference between seeing that something can be generalized, optimized, or improved and spending the time to do it. Knowing that difference and apply
by erydo 15y ago
There's a difference between seeing that something can be generalized, optimized, or improved and spending the time to do it.
Knowing that difference and applying judgement is a major differentiator between inexperienced programmers and experienced ones. That, I think, is what heyrhett was getting at.
- humbledrone 15y agoI don't get it. In the case of the vector-add function, once you've happened to notice the more general solution, implementing it will take a couple of minutes. It's not comparable to an optimization, which would normally increase the risk of code errors -- it is a simplification, which would decrease the risk of code errors. Two minutes to make a minor simplification and learn a generally good way of approaching things with the tool at hand (clojure)? Count me in.