I think Patrick is giving bad advice. Almost always optimize for readability and future updates, all other considerations are specific to need. Idiomatic and efficient implementations are a a very good habit, but “optimize” implies making tradeoffs.
Other aspects of life are similar—almost always optimize for the long-term, but the specifics of what that means is individual.
I think Patrick is giving bad advice. Almost always optimize for readability and future updates, all other considerations are specific to need. Idiomatic and efficient implementations are a a very good habit, but “optimize” implies making tradeoffs.
Other aspects of life are similar—almost always optimize for the long-term, but the specifics of what that means is individual.