744
average day in NPM land (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] sukhmel@programming.dev 11 points 1 year ago

So, every time I use a library to recognize patterns on a picture, to interact with Kafka, do some SSL, or do database mapping, I should hate myself, noted

We did Elastic API integration in Java by creating and maintaining huge half-codegenerated transformer from code to Elasticsearch's JSONs, it was a pain and it was source of more than one error

Dependences should be reviewed and audited to make sure they do what you need and they are worth using. Just making everything in-house gets you nowhere most of the time

[-] aaro@lemmy.world 24 points 1 year ago

Nobody is arguing that you should never depend on anything and create everything yourself, but adding a dependency for literally a one liner function is awful. Like one of the Go proverbs goes, a little copying is better than a little dependency.

[-] sukhmel@programming.dev 3 points 1 year ago

Yeah, there's mention of doing the opposite in C++ community in a neighbouring thread

[-] Black616Angel@discuss.tchncs.de 12 points 1 year ago

You code in Java, of course you should self flagellate on a daily basis just for that. The entire ecosystem is completely fucked.

[-] sukhmel@programming.dev 5 points 1 year ago

Joke's on you, I code in Rust

[-] Black616Angel@discuss.tchncs.de 5 points 1 year ago

Then the joke is very much on us.

[-] sukhmel@programming.dev 2 points 1 year ago

To be fair, it wasn't ecosystem that made want to abandon Java, but now I can see it should've :)

[-] JackbyDev@programming.dev 3 points 1 year ago

That is what they were getting at by some self flagellation can't hurt either. That sometimes "hating yourself" (adding dependencies) is worth it.

[-] sukhmel@programming.dev 1 points 1 year ago

I read it as "also throw in some physical pain cause just feeling bad is not quite enough" 🤔

this post was submitted on 31 Jul 2024
744 points (99.3% liked)

Programmer Humor

25328 readers
684 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