381
For that modern web feeling
(lemmy.world)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
I have no clue what any of it means.
"make the page transparent and show a spinning icon, wait 750ms, then make the page display normally"
it's a fake loading screen
And perform the action you actually want to do after the delay
It's a real loading screen
It's a real fake loading screen.
Shouldn't it be 750 seconds? Who's going to notice a slowdown that's below one second?
To your first question: The arguments to
setTimeoutandsetInterval(and I believe everything else in JavaScript) are in milliseconds.Second question: Everybody, unless you’re a 90-year old, demented grandma.
With most web pages pulling megabytes of crud to display anything, I'm not sure a 0.75 second delay would change anything much.
3/4 of a second is quite noticeable. Most UI animations are only 100-200ms, and if you disable them, things feel faster but less "polished". Try it out yourself on your phone UI if you've got an Android.