Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
hell169578yI bet users or management where complaining that it wasn't showing and he just added that so people stopped annoying him 😂😂
-
ultrono23588y@azous Maybe, but it's still a stupid idea. The actual endpoint performs a simple select on a single table and will never return more than ~10 rows.
Granted, it's a nice loading icon, but still :) -
fermac1128yThat's not that unusual, on my current job I've had to do it already twice, due to final users' complaints for not seeing the flashy animation as expected.
Blame the redundant highly scalabe architecture, I said to my boss... -
cahva10158yYup, optimized initial page load to under a second. Had to add 1,5 secs to show the fucking spinner more 👎
-
Actually there are cases where the interface is intentionally slowed down to provide a better feedback to the users. Facebook is one of those cases. There are studies that say that if for example an app makes an action instantly instead of pretending to do something on the background that takes time then the users tend to think that the app did nothing at all on the background (even though it did a lot) and lose trust.
-
pawnstar478yEveryone knows you should add your fake delay on the front end so that enterprising redditors can write a user script to make it normal again.
-
@jakallergis Interesting. Did not know about this nugget of info regarding AJAX and UX.
-
So when your boss ask you to improve the responding time you just have to reduce the delay time B)
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo35My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
Me when viewing a line of PHP where the previous developer add "sleep(5)" to an Ajax endpoint with the comment "Sleep for 5 seconds so the ajax loading icon is visible to users".
FML.
undefined
php
fml
wtf