Comment by eviks
13 hours ago
> Data structures, not algorithms, are central to programming
So you agree that they should've designed the system to use the appropriate data structure from the beginning?
13 hours ago
> Data structures, not algorithms, are central to programming
So you agree that they should've designed the system to use the appropriate data structure from the beginning?
Rule 5 is superseded by Rules 1 & 2. Without the measurements to back it up, you're chasing phantoms.
Notice rules are ordered. You don't optimize until you know you need it. They started with a data structure they though would be fine. Clearly it was fine since it worked and they decided it was later worth optimizing.
The existence of 1.1.1.1 speaks to a much larger design problem. If you want to talk about what should have been done, you need to step much, much further back.
I don't want to step back and go off topic
"Should" cannot be evaluated in a vacuum. The only thing that would be off-topic is pretending that it can be.