this post was submitted on 26 Jan 2024
240 points (98.0% liked)

Programmer Humor

32398 readers
660 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 16 comments
sorted by: hot top controversial new old
[–] AVincentInSpace@pawb.social 15 points 9 months ago* (last edited 9 months ago) (1 children)
[–] sirdorius@programming.dev 5 points 9 months ago

Came here to say this, but I was delayed by having to clean my cargo target folder.

[–] killeronthecorner@lemmy.world 8 points 9 months ago (1 children)
[–] Timwi@kbin.social 3 points 9 months ago

Great Scott!

[–] xmunk@sh.itjust.works 4 points 9 months ago

npm search agrees.

[–] burnso@lemmy.world 1 points 9 months ago (2 children)
[–] flying_sheep@lemmy.ml 1 points 9 months ago* (last edited 9 months ago) (1 children)

That's the one that's like Yarn’s global cache, but without compression, right?

[–] burnso@lemmy.world 1 points 9 months ago (1 children)

Not sure, but probably. I only used yarn 1. Never got around to trying yarn 2+ as migrating our fairly large monorepo project at the time felt like a pretty large and complicated ordeal. By the time I switched jobs npm was already a whole lot better in the ways most important to me.

The little I’ve read about and used pnpm so far it seems a lot more plug n play than yarn while bringing big benefits. Even workspaces seems a lot simpler than it ever was with yarn (at least when I used it). Love the idea of non-flat node_modules and simplified lock files as well.

Time will tell if npm incorporates enough of pnpm’s features to make it obsolete eventually but for now I can understand why it seems so widely adopted.

[–] flying_sheep@lemmy.ml 1 points 9 months ago

I mean, the essential difference of no node_modules is shared, as are workspaces.

I think pnpm is more manual, but therefore less magic than yarn. More compatible, less stuff just works

[–] lemmesay@discuss.tchncs.de 1 points 9 months ago

the only JS package manager I have on my system.
for unruly projects, I just pass --shamefully-hoist

[–] Daxtron2@startrek.website 1 points 9 months ago

I love when I have to wipe node_modules and reinstall and it takes like an hour because there's thousands of packages lol

[–] somegeek@programming.dev 1 points 9 months ago (1 children)

2012 called, they want their meme back

[–] Octopus1348@lemy.lol 1 points 9 months ago

It's still true tho.

[–] Gallardo994@sh.itjust.works 0 points 9 months ago (1 children)

Somewhere to the right has to be unity's Library folder

[–] v9CYKjLeia10dZpz88iU@programming.dev 1 points 9 months ago (1 children)

those devs understand why their assets are so large. but if you ask a js dev why they webpack instead of compiling they just start crying and run away

[–] Gallardo994@sh.itjust.works 1 points 9 months ago

It depends. If you switch between different branches a lot, Library just grows to infinite sizes due to storing everything from each branch that is unique to those branches. I once had to clear about 600 gigs of library lol.