this post was submitted on 11 Aug 2025
577 points (98.7% liked)

Programmer Humor

26427 readers
1859 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] fahfahfahfah@lemmy.billiam.net 34 points 1 month ago (3 children)

And this is why tree shaking exists.

[–] candyman337@lemmy.world 15 points 1 month ago (2 children)
[–] NewDark@lemmings.world 43 points 1 month ago (1 children)

If you import 1% of your module code, you only compile the actual used code. Tree shaking is removing dead code paths that aren't used.

[–] candyman337@lemmy.world 13 points 1 month ago
[–] zea_64@lemmy.blahaj.zone 14 points 1 month ago (1 children)

Dead code elimination but with a different name for some reason

[–] QuazarOmega@lemy.lol 4 points 1 month ago (1 children)
[–] mathiouchio@sh.itjust.works 2 points 1 month ago

We ARE all apes

[–] kamen@lemmy.world 3 points 1 month ago

It's great when it works, yeah.

[–] sheepishly@fedia.io 1 points 1 month ago (1 children)
[–] ICastFist@programming.dev 3 points 1 month ago (1 children)
[–] sheepishly@fedia.io 0 points 1 month ago

Works on my machine...