798
Optimizations? Never heard of it
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
This is what I and many other programmers have done (not the removal, but fake delays), because it improves user experience, actually:
1.When the user clicks a button that should take long in their mind (like uncompressing a zip file etc) but is actually fast, it might seem like something is wrong and it didn't work
2.When the user transitions between layouts of the application, if it loads everything too fast it will look too abrupt, a fake delay will be made here if a transition animation is not possible/doesn't fit
First reason is just poor UI design. I'm sure there are billion ways to indicate a successful action even if it was immediate.
Imagine asking a person a math question like what 2 times 3 times 7 is (without you knowing the answer). If that person immediately goes like „42“ you‘ll most likely think that it’s a joke response and the person doesn’t take your question seriously. If however that person takes a few seconds to think you are much more likely to believe the answer.
With your overly simple example I would totally believe that person. With harder problems perhaps. Besides, machines are not human.