griD@feddit.de to Programmer Humor@lemmy.mlEnglish · 1 年前We've come a long way babyi.imgur.comimagemessage-square109fedilinkarrow-up11.64Karrow-down133 cross-posted to: programmer_humor@programming.dev
arrow-up11.61Karrow-down1imageWe've come a long way babyi.imgur.comgriD@feddit.de to Programmer Humor@lemmy.mlEnglish · 1 年前message-square109fedilink cross-posted to: programmer_humor@programming.dev
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up40·1 年前I assume they wrote it as 5000 and it got changed to 5E3 by the minifier as it saves a byte?
minus-squaredan@upvote.aulinkfedilinkarrow-up18·1 年前Yeah that’d be my guess. Minifiers squeeze every byte. true and false get minified to !0 and !1 respectively.
minus-square██████████@lemmy.worldlinkfedilinkarrow-up6arrow-down1·edit-21 年前html programerz dont do that/s
minus-squareWes_Dev@lemmy.mllinkfedilinkarrow-up1arrow-down1·11 个月前Never heard of a minifier. It’s a brilliant idea though.
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up4·11 个月前Most websites use them. Smaller file -> less bandwidth -> lower costs.
“5E3”
I assume they wrote it as 5000 and it got changed to 5E3 by the minifier as it saves a byte?
Yeah that’d be my guess. Minifiers squeeze every byte.
true
andfalse
get minified to!0
and!1
respectively.Lol
html programerz dont do that/s
Never heard of a minifier. It’s a brilliant idea though.
Most websites use them. Smaller file -> less bandwidth -> lower costs.