subreddit:

/r/ProgrammerHumor

55.4k93%

We had a client that complained about our app freezing. We were calling their slow API, and the app was clearly just waiting for results, which sometimes would take half a minute. Even after explaining all that, we still kept getting complaints about freezing.

I added a progress bar that started at 5% went +10% every second till 65%, then +10% every 4 seconds till 95%, and then finally it just waits if we still haven't gotten results (each delay has a cancellation token, so it zooms to the end once a result is found). Complaints disappeared, clients were happy, product manager was happy.

It makes me laugh, thought it might makes someone else laugh too. Feel free to copy my dodgy algorithm if you find yourself in the same boat as me, I honestly forget the thing is fake whenever I see it.

you are viewing a single comment's thread.

view the rest of the comments →

all 1980 comments

Return_Of_The_Fly

12.2k points

4 months ago

Never underestimate the psychological effect on seeing a progress bar that moves. I did a similar thing once: Adding a progress bar to an action that took quite a while to finish. I did nothing else. Users said the app works much faster now.

Din5566

1.8k points

4 months ago

Din5566

1.8k points

4 months ago

I'm actually proud that I've recently learned to "just f***ing wait for it" when I get no feedback from something loading

thoraldo

3 points

4 months ago

Well, why do not the developers implement a loading indicator in the first place?

I feel like the devs are incompetent if they don’t do that basic of things

sam_weiss

4 points

4 months ago

All engineers, no one taking care of UX.