this post was submitted on 21 Jan 2026
379 points (99.2% liked)

Programmer Humor

28764 readers
622 users here now

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.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] funkless_eck@sh.itjust.works 24 points 4 days ago* (last edited 4 days ago) (3 children)

"make the page transparent and show a spinning icon, wait 750ms, then make the page display normally"

it's a fake loading screen

[–] bestelbus22@lemmy.world 9 points 3 days ago

And perform the action you actually want to do after the delay

[–] Rooster326@programming.dev 4 points 3 days ago (1 children)
[–] itkovian@lemmy.world 9 points 3 days ago

It's a real fake loading screen.

[–] AnUnusualRelic@lemmy.world 2 points 3 days ago (2 children)

Shouldn't it be 750 seconds? Who's going to notice a slowdown that's below one second?

[–] bleistift2@sopuli.xyz 5 points 3 days ago (1 children)

To your first question: The arguments to setTimeout and setInterval (and I believe everything else in JavaScript) are in milliseconds.

Second question: Everybody, unless you’re a 90-year old, demented grandma.

[–] AnUnusualRelic@lemmy.world 1 points 3 days ago

With most web pages pulling megabytes of crud to display anything, I'm not sure a 0.75 second delay would change anything much.

[–] xthexder@l.sw0.com 3 points 3 days ago

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.