4 ms·
Problem Solving and Clojure 1.9 (2018)
- tosh 7y ago> I think a big problem is you grab a library and you really have no idea what you've gotten. Maybe it has a label. It says it's 1.2, but you don't know which functions inside it have changed, or why. You don't actually know what you're running. And maybe the jar file or artifact tells you something about the source that was used to produce it, but the process that was used to produce it is often opaque. And any of that could be wrong because there's a lot of human steps involved in producing artifacts. And because so many people use Git, I'd like to get closer to leveraging some of the features there, in particular using SHA's and content-based addressing to talk about things. > I had worked on a library called Codeq, which we'll have a new version of soon, that sort of extends the Git model down to the function level, so you would have SHA's for individual functions, and you could have dependencies on functions, instead of on artifacts. So a lot of work is happening around that, and some of that manifests itself in this dependency tool.
- platz 7y agoSimilar to what Unison is doing. Functions are identified by a hash and the names are ephemeral.
- patkai 7y agoIt took a moment to google what Unison is. Apparently a new programming language: https://github.com/unisonweb/unison https://github.com/unisonweb/unison
- patkai 7y agoSomehow these comments reminded me of a rant by John von Neumann. In an essay he says something like "mathematics is actually very shabby, just have a look at the extremum principles. Extrema? So we can't even tell if it's a minimum or a maximum?" It amuses me how software developers think of themselves as precise, when, actually, there is a lot of shabbiness in sw development. Hickey's example is one.
- twic 7y agoJoe Armstrong proposed something similar for Erlang: http://erlang.org/pipermail/erlang-questions/2011-May/058768.html http://erlang.org/pipermail/erlang-questions/2011-May/058768...
- lngnmn1 7y agoWhile Rich Hickey is the hugest narcissistic asshole I have ever seen, he definitely knows his shit. Personally I prefer humble guys like Joe Armstrong talking about the very same things, but he is no longer here to save us from our stupidity and bullshitting. Listen to Hickey anyway, even if he is disgusting. He knows his stuff.