←back to thread

71 points zobweyt | 1 comments | | HN request time: 0s | source
Show context
lnenad ◴[] No.43555030[source]
I might be jaded, but I think having libraries for such simple use cases leads to the inevitable `left-pad` situation.

When I say simple use cases I mean that since you probably don't need all of these functions at once that it would be easier to copy the code you need if you don't feel comfortable writing it instead of adding yetanotherlibrary to your dependency tree.

replies(2): >>43555094 #>>43558678 #
7bit ◴[] No.43558678[source]
You can always just take the code and put it in your app. Having libraries like these don't force you to add them as a dependency. Assuming the right OSS license.
replies(1): >>43559430 #
1. lnenad ◴[] No.43559430[source]
I agree but in reality many will take the easier path of [`pip` `npm` `cargo` `yarn` `go`] [`install`, `add`] when seeing the functionality out there. I was also making a broader talking point.