by azeirah · 8y ago · 0 comments
> unique permanent addressing for immutable documents and source data
This would make _so much_ sense for programming.
If you copy a function from stackoverflow, or from github, or from a gist, or whatever, you always know where it came from, who wrote it... instead of "copying" where the code is now yours to maintain, you "refer" to it, you "include" it. No-one can tamper with the inclusion, because it is based on some kind of safe cryptography.
Wouldn't this be a great alternative/addition to apis and libraries? It would allow us to include random functions and snippets from any other codebase without ever having to worry about dependencies suddenly breaking everything with updates.