|
|
|
|
|
by VBprogrammer
745 days ago
|
|
Optimising for simplicity first is almost always the right thing to do. Even if it turns out to be too slow you then have a reference implementation to confirm correctness against. In my experience it's rare to correctly identify the bottleneck in code while writing it. |
|
Some view simplicity more as minimizing lines of code, e.g., less moving parts.
I view simplicity more as increasing lines of code, the goal being to make the code very verbose. Sometimes this means more moving parts, but smaller "movement" at each step.
There are other views of simplicity as well.