bestelbus22@lemmy.world to Programmer Humor@programming.dev · 3 months agoFor that modern web feelinglemmy.worldimagemessage-square40linkfedilinkarrow-up1335arrow-down13
arrow-up1332arrow-down1imageFor that modern web feelinglemmy.worldbestelbus22@lemmy.world to Programmer Humor@programming.dev · 3 months agomessage-square40linkfedilink
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkEnglisharrow-up1·3 months agoShouldn’t it be 750 seconds? Who’s going to notice a slowdown that’s below one second?
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up2·3 months agoTo 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.
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up0·3 months ago3/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.
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.
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.