News for hackers. Stuff that matters.
Re:Some Were Meant For C (2017) [pdf] by dllthomas on Monday March 01, 2021 @08:46PM (#26310946)
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?

There are no comments on this comment yet.