Hector Martin on Nostr: LB: Reimplementing trivial subsets of libraries is highly underrated. If all you need ...
LB: Reimplementing trivial subsets of libraries is highly underrated. If all you need is a few lines of functionality, please don't link to a whole new dependency just for that. It's not worth it. I guarantee you're creating more maintenance burden with the dependency and the build/packaging/upgrade/compat churn that comes with it than you would be if you just vendored or reimplemented the little bit of code you need.
Published at
2024-04-02 17:51:18Event JSON
{
"id": "0f115aa8459a3093db5ca77547d29eed609dd0814eacbd08e2c42c418c525012",
"pubkey": "83d182dfe157e52ad692e5dd0f1b4a8f6ac4afb540c90ccb88edb11cb82f2fad",
"created_at": 1712080278,
"kind": 1,
"tags": [
[
"proxy",
"https://social.treehouse.systems/users/marcan/statuses/112202893146542906",
"activitypub"
]
],
"content": "LB: Reimplementing trivial subsets of libraries is highly underrated. If all you need is a few lines of functionality, please don't link to a whole new dependency just for that. It's not worth it. I guarantee you're creating more maintenance burden with the dependency and the build/packaging/upgrade/compat churn that comes with it than you would be if you just vendored or reimplemented the little bit of code you need.",
"sig": "bf70bfdd356c45b0f1a71fbaf3fb660487dd220b7b8c3654cb10587128c2173c15fcfc1e49c1d15c42a65c10572055e62e36b60ebee81189eb952a1b63ebd31f"
}