this post was submitted on 11 Aug 2025
574 points (98.6% liked)

Programmer Humor

27660 readers
926 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
[–] dormedas@lemmy.dormedas.com 55 points 3 months ago (7 children)

Feels like a lot of “not inventing the wheel” - which is good? There are plenty of good wheels out there.

[–] Shayeta@feddit.org 72 points 3 months ago (1 children)

But I don't NEED a wheel, I just need a tarp to put over this metal frame on my patio, and for some reason the tarp manufacturer attaches wheels and plane wings to it!?

[–] jol@discuss.tchncs.de 28 points 3 months ago (1 children)

The package comes with all the bells and whistles but the final build only contains the tarp, if you import it right and tree shake it.

[–] marlowe221@lemmy.world 16 points 3 months ago

This person nodes

[–] dohpaz42@lemmy.world 21 points 3 months ago (1 children)

Until those wheels contain malware and spyware.

[–] CameronDev@programming.dev 4 points 3 months ago (1 children)

Or bugs that you only work out much later on.

[–] anomnom@sh.itjust.works 5 points 3 months ago

Or someone deletes the axle repo and the wheel flies off.

[–] fmstrat@lemmy.nowsci.com 15 points 3 months ago (1 children)

The problem is "I need function, library with 1000 functions has function, include." Library's 823rd function turns out to have a vulnerability.

[–] bleistift2@sopuli.xyz 1 points 3 months ago

Enter tree-shaking.

[–] ICastFist@programming.dev 13 points 3 months ago (1 children)

"Yes, I'd like a wheel. I don't want to invent it. Why, of course, give me the full package of wheel, axis, rotor, engine, fuel tank, windshield, mirrors, tire, front panel, brakes. This wheel will be great for me manually spinning cotton!"

[–] pinball_wizard@lemmy.zip 2 points 3 months ago* (last edited 3 months ago)

And I have the option to spin cotton off-road on rugged terrain...so there's that...

[–] dejected_warp_core@lemmy.world 4 points 3 months ago (1 children)

You say that, but I've watched the JS community move from one framework and tool suite to the next quite rapidly. By my recollection, I've seen a wholesale change in popular tooling at least four times in the last decade. Granted, that's not every developer's trajectory through all this, but (IMO) that's still a lot.

[–] bleistift2@sopuli.xyz 1 points 3 months ago (1 children)

But changing frameworks is not why node_modules is so large. You don’t import Angular and Vue.

[–] dejected_warp_core@lemmy.world 2 points 3 months ago

I agree. Rather each one of those is rather substantial on its own. Plus the churn of going from framework to framework makes it less useful to compress and bundle all this stuff into fixed versions on a slower schedule (e.g. like Ubuntu packages do). I think that all contributes to bloat.

[–] scarilog@lemmy.world 2 points 3 months ago

Is this why pip packages are called wheels...?

[–] MonkderVierte@lemmy.zip 2 points 3 months ago

Yes, but my moon rover's wheels need to fulfill different requirements.