Re:An Engineer’s Guide to the Docuverse
by mjepronk on Monday September 10, 2018 @10:40AM
(#17952131)
Yes, for example the Dhall (non-Turing complete) programming language does this: https://github.com/dhall-lang/dhall-lang
Re:An Engineer’s Guide to the Docuverse
by aeorgnoieang on Monday September 10, 2018 @11:20AM
(#17952427)
This is an idea I've seen popup over and over. I suspect the transaction costs in using, let alone maintaining, the tools needed to do this well are what prevent it from ever reaching widespread adoption. Consider the 'leftpad' debacle as one example.
> 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.