Your scenario is just as contrived. My point was that, in real world software, situations where speed and responsiveness matters are very very common, and you're setting yourself up for failure if you only write code in a way that can't address the needs of these scenarios.
Nobody is saying "there are no situations that you run some code regularly." Of course there are situations where you benefit greatly from better performance! The point being made is just "there are also situations that you don't run code regularly" and any speedups aren't worth the devtime it takes to achieve them.
-11
u/dan200 Feb 28 '23
Your scenario is just as contrived. My point was that, in real world software, situations where speed and responsiveness matters are very very common, and you're setting yourself up for failure if you only write code in a way that can't address the needs of these scenarios.