|
|
|
|
|
by kungtotte
2081 days ago
|
|
I think a lot of the time people think they have performance issues when they in fact don't, likewise with stability and flexibility. In most cases, writing the readable and straightforward version first and only moving to the less readable but more X version (for any given value of X) after it's evident that you need to is the optimal solution. It's the programming equivalent to buying cheap tools first and only buying the expensive version once the cheap one breaks: If it breaks you used it enough to warrant the expensive and more durable one, and if it didn't break you didn't have to spend more money than necessary. |
|
If your software is going to be someone's day job it can't afford to be slow because users would take note and complain loud and clear because it's wasting their time. Just imagine git taking 15mins for showing diffs, would you accept that for an improvement in code readability and straightforwardness.
So for different industries there are different X's that matter a whole lot more than mere readability and developer convenience.