by mduerksen · 11y ago · 0 comments
One of the most important steps in programming is:
How many elements could this code actually have to process, and if there could be many: is this datastructure/algorithm suitable for that?
This is almost never premature. This should NOT be called optimisation.
I would like an own word for that. Suggestions?
To answer your question how does thinkthencode sound?
Also, I would restate the rule as something like "don't spend too much time prematurely optimizing. If you're building a lookup, it's obviously a Good Thing to use a hash instead of a linked list, and in 99% of cases shouldn't take you any longer to code.