@griD@feddit.de to Programmer Humor@lemmy.mlEnglish • 10 months agoWe've come a long way babyi.imgur.comimagemessage-square107fedilinkarrow-up11.64K cross-posted to: programmer_humor@programming.dev
arrow-up11.64KimageWe've come a long way babyi.imgur.com@griD@feddit.de to Programmer Humor@lemmy.mlEnglish • 10 months agomessage-square107fedilink cross-posted to: programmer_humor@programming.dev
minus-square@SorryQuick@lemmy.calinkfedilink40•10 months agoI assume they wrote it as 5000 and it got changed to 5E3 by the minifier as it saves a byte?
minus-square@dan@upvote.aulinkfedilink18•10 months agoYeah that’d be my guess. Minifiers squeeze every byte. true and false get minified to !0 and !1 respectively.
minus-square@Wes_Dev@lemmy.mllinkfedilink1•10 months agoNever heard of a minifier. It’s a brilliant idea though.
minus-square@SorryQuick@lemmy.calinkfedilink4•10 months 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.