4 ms·
Fair enough, but then what we want is readability, which is related but not equivalent to conciseness. I often have discussions with colleagues about different
by gbog 14y ago
Fair enough, but then what we want is readability, which is related but not equivalent to conciseness.
I often have discussions with colleagues about different coding idioms in Python, and I hear often "this one is better because it is less typing". I don't think this is very valid. If everything is equal, then sure, go for less typing. But using locals() instead of explicit arguments when calling a template rendering because "it is less typing" seems not strong enough an argument to me.
- anko 14y agoI totally agree, and if people think something is better because it's shorter, they are missing the point. But if all other things are equal (and they rarely are), I think shorter is better.