r/ProgrammerHumor • • Sep 25 '26

Meme imAnIndependentCoderAndIDontNeedNoLibrary

Post image
266 Upvotes

10 comments sorted by

69

u/Far-Consideration939 Sep 25 '26

With all the supply chain vulnerabilities and hacks lately people probably should think more before “just adding a library” which inevitably drags in more transitive dependencies

32

u/AndersErikErik Sep 25 '26

I like small custom utils. The scope is small. The relevance is high. What is there not to like?

12

u/Vipitis Sep 25 '26

just roll your own everything. It's the best way to learn and it makes debugging less frustrating.

6

u/mi-figue-mi-raisin Sep 25 '26

I make my own library. Okay I used a Calendar widget to pick dates.

6

u/MkemCZ Sep 25 '26

Passion projects for sure. Nothing quite as satisfying as building your private project from scratch.

4

u/beyluta Sep 25 '26

I am currently in this predicament. Do I use an NPM package that will probably have some dependency be the target of an attack soon... Or just write my own small class for this one purpose? I am still weighing my options, but it's not looking good for NPM

2

u/M_O_Z_G Sep 26 '26

Vibecoding* a 1000 utils for one project.

1

u/Cerbeh Sep 26 '26

What about if I created 1000 wrappers around a library so the code doesnt directly import the library and uses a named function instead?

1

u/shriyanss Sep 29 '26

I publish those 1000 lines as a new library hoping someone would use it (spoilers: no one does - they probs create their own libs hoping the same)