Comment

Comment by gourlaysama

Putting API contracts aside, the problem is also that people use a package manager as if it was a code snippet manager.

As in, "how do I check if a string starts with a shebang" should result in some code being pasted in your editor, not in a new dependency. There is obviously a complexity threshold where the dependency becomes the better choice, but wherever it is it should be way higher than this.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton