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

Programmer Humor

32570 readers
142 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 55 points 1 year ago (1 children)
[–] [email protected] 40 points 1 year ago (4 children)

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

[–] [email protected] 18 points 1 year ago

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

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

html programerz dont do that/s

[–] [email protected] 0 points 1 year ago (1 children)

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

[–] [email protected] 4 points 1 year ago

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