News for hackers. Stuff that matters.
Re:2 is a code smell by erydo on Wednesday October 12, 2011 @05:22PM (#3104664)
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.

Re:2 is a code smell by humbledrone on Wednesday October 12, 2011 @05:57PM (#3104806)
I 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.