3 ms·
> Also the "developer's time is expensive" Agreed. I really dislike this excuse for sloppy slow code. Yes, developer time is expensive, need to keep ROI in mi
by jjav 4y ago
> Also the "developer's time is expensive"
Agreed. I really dislike this excuse for sloppy slow code.
Yes, developer time is expensive, need to keep ROI in mind.
But if the expensive developer spents a week optimizing the function to make it 1 second faster, is that worth it? Too many people will respond "developer's time is expensive" without thinking beyond that. But of course, it depends.
If that function is being invoked millions of times per day by hundreds of thousands of people, it very quickly becomes totally worth it.