griD@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 years agoWe've come a long way babyi.imgur.comimagemessage-square129fedilinkarrow-up11.6Karrow-down131
arrow-up11.57Karrow-down1imageWe've come a long way babyi.imgur.comgriD@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square129fedilink
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up37·2 years agoI assume they wrote it as 5000 and it got changed to 5E3 by the minifier as it saves a byte?
minus-squaredan@upvote.aulinkfedilinkarrow-up17·2 years agoYeah that’d be my guess. Minifiers squeeze every byte. true and false get minified to !0 and !1 respectively.
minus-square██████████@lemmy.worldlinkfedilinkarrow-up6·edit-22 years agohtml programerz dont do that/s
minus-squareWes_Dev@lemmy.mllinkfedilinkarrow-up1·2 years agoNever heard of a minifier. It’s a brilliant idea though.
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up3·2 years agoMost websites use them. Smaller file -> less bandwidth -> lower costs.
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.