←back to thread

295 points todsacerdoti | 2 comments | | HN request time: 0.002s | source
Show context
Levitating ◴[] No.45948952[source]
I am sure I am not the only one who thinks these micro-dependencies are worthless anyway. You'd be better off just listing the functions in a markdown file for people to copy over than ship an entire package for it.

This isn't "small" open source, "small" would be something you put together in a week or weekend. These are like "micro" projects, where more work goes into actually publishing and maintaining the repository than actually writing the library.

I like the approach C sometimes takes, with the "tiny header file" type of libraries. Though I guess that also stems from the lack of a central build system.

replies(4): >>45950899 #>>45950912 #>>45953455 #>>45955108 #
eviks ◴[] No.45950899[source]
What's your copy& paste solution to security updates?
replies(2): >>45952213 #>>45952228 #
1. 1718627440 ◴[] No.45952213[source]
The security maintenance of the ten lines of code I have read and copied into my code is the same as the ten lines of code next to it, that I have written myself.
replies(1): >>46003555 #
2. eviks ◴[] No.46003555[source]
It can't be the same. The package is public, so you get some benefit of other people reviewing and your tools notifying you of issues. Or do you really mean you ignore all that info?