TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Analyzing Every Clojure Project on GitHub

85 pointsby jjwisemanover 2 years ago

6 comments

lukevover 2 years ago
&gt; Average mutable reference usage per repository: 1.94<p>&gt; Repositories with no mutable reference usages: 7,245 (63%)<p>&gt; Truly bananas. Clojure libraries really do have less state. It probably isn&#x27;t surprising if you&#x27;ve been programming in clojure for any length of time, but it&#x27;s pretty wild to see the data back this up. I don&#x27;t think I would have believed this 10 years ago.<p>Truly interesting and impressive, although I&#x27;ll note that there are plenty of ways (most of them via Java interop) to introduce mutability of some kind into a Clojure program besides the first-class reference types (atoms&#x2F;refs&#x2F;agents&#x2F;volatiles.)<p>I&#x27;d be interested in an analysis in what percentage of Clojure functions are truly referentially transparent, but that&#x27;s difficult (if not impossible) to determine statically.
评论 #32769891 未加载
评论 #32758922 未加载
User23over 2 years ago
Learning Clojure is probably the easiest way to get paid to write Lisp. Personally I prefer Common Lisp, but I know I’m a grognard. And I really do like Clojure too. Both have a very pragmatic philosophy. It’s kind of fun that Steele’s quip that Java was about dragging C programmers to Lisp has come more true than maybe even he imagined.
stcredzeroover 2 years ago
<i>I&#x27;m generally interested in tools like cljdoc that work at the ecosystem level.</i><p>Isn&#x27;t the meta-lesson of the history of programming languages from the past 60 years, basically that <i>great language design should take into account the ecosystem level?</i><p>The success or failure of a language has really depended on the health of its interaction with its community and ecosystems, much more so than narrow technical merit of the language.<p>Name a language, and its history bears this out. (Clojure as well.)
bm3719over 2 years ago
Nice to see the data confirm the general consensus (by my measure, at least) regarding the Clojure STM options.<p>Like others, I&#x27;ve been telling Clojure newbies something like: When you need Clojure STM, default to using an atom unless you really know you need to use something else.
评论 #32759044 未加载
评论 #32759886 未加载
评论 #32754421 未加载
评论 #32756962 未加载
hospitalJailover 2 years ago
Just mentioning, these are public projects on Github. Both my big corp job uses github privately and I personally use it privately.<p>I wonder how that would skew things.
评论 #32759432 未加载
stanislavbover 2 years ago
If you are interested, you can discover the most popular clojure projects (by number of mentions) on LibHunt <a href="https:&#x2F;&#x2F;www.libhunt.com&#x2F;l&#x2F;clojure" rel="nofollow">https:&#x2F;&#x2F;www.libhunt.com&#x2F;l&#x2F;clojure</a>. As most of us could expect, Logseq is amongst the most popular and most trending projects.