3 ms·
i basically have 1 meta best practice, which is- everything you make should work 100% of the time (not that i live up to this)
by the_cat_kittles 6y ago
i basically have 1 meta best practice, which is- everything you make should work 100% of the time (not that i live up to this)
- naikrovek 6y agoMine is that "this should never waste a user's time unless absolutely necessary." And it is absolutely shocking how many developers do not care if they make a user wait a minute for something that should take <1 second if they spent 10 minutes in the code improving it. To me, it is a moral failing if my laziness costs user's time. Remember how many users you have and multiply delays by the number of users delayed by your code.
- dathinab 6y agoYes but also don't overoptimize it's normally not worth it at all. The relevant decisions are often about the UI/UX design and flow as well as the architecture, but less about optimizing code sections here and there.
- naikrovek 6y agoYes, I failed to state that, as I felt it obvious, and you're right. Over-optimizing is just as bad as under-optimizing. I will not spend 4 hours to save 5 users 5 minutes per year.