4 ms·
I don't think "there is exactly one way to do it" is actually a good guiding principle. Forcing it down to an overly simplistic setting, if I need to add 5 to
by dllthomas 6y ago
I don't think "there is exactly one way to do it" is actually a good guiding principle.
Forcing it down to an overly simplistic setting, if I need to add 5 to a number I can increment 5 times, or add 2 and then 3, or just add 5. Which of those options should we remove?
Perhaps we mean, instead, that there should be one best way, but (sliding into metaphor, I hope) what about when we have a language without 5 and we are considering adding it? Is the use case already handled by 2+3? How are we to decide?