1600
submitted 7 months ago by griD@feddit.de to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Wes_Dev@lemmy.ml 54 points 7 months ago
[-] SorryQuick@lemmy.ca 40 points 7 months ago

I assume they wrote it as 5000 and it got changed to 5E3 by the minifier as it saves a byte?

[-] dan@upvote.au 18 points 7 months ago

Yeah that'd be my guess. Minifiers squeeze every byte. true and false get minified to !0 and !1 respectively.

[-] MaxVoltage@lemmy.world 5 points 7 months ago* (last edited 7 months ago)

html programerz dont do that/s

[-] Wes_Dev@lemmy.ml 0 points 7 months ago

Never heard of a minifier. It's a brilliant idea though.

[-] SorryQuick@lemmy.ca 4 points 7 months ago

Most websites use them. Smaller file -> less bandwidth -> lower costs.

this post was submitted on 21 Nov 2023
1600 points (98.0% liked)

Programmer Humor

31217 readers
51 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS