this post was submitted on 15 Jul 2023
827 points (97.8% liked)
Programmer Humor
32710 readers
253 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
My kid got a job at some place and was browsing through an update script for a customer. There were a bunch of random-seeming
sleep
andprintf
statements. He couldn't make sense of it, so asked one of the more senior techs what was the deal. It was as you said. They had updated software/hardware at a customer's site and the backups were going so quick that the customer was getting pissed because "There is NO way this is doing in 10 seconds what should take several minutes." OK, the customer gets what they want. A judicious sprinkling of delays and meaningless messages. The 10 second update now takes a little over 4 minutes and the customer was happy again.Shouldn't they have access to the backup location as well so that they can verify that it's fine?
Forcing the client to manually verify the integrity of backups each time is a bad user experiemce
I know it sounds weird, but they would probably do it every time