> Average mutable reference usage per repository: 1.94<p>> Repositories with no mutable reference usages: 7,245 (63%)<p>> Truly bananas. Clojure libraries really do have less state. It probably isn't surprising if you've been programming in clojure for any length of time, but it's pretty wild to see the data back this up. I don't think I would have believed this 10 years ago.<p>Truly interesting and impressive, although I'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/refs/agents/volatiles.)<p>I'd be interested in an analysis in what percentage of Clojure functions are truly referentially transparent, but that's difficult (if not impossible) to determine statically.
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.
<i>I'm generally interested in tools like cljdoc that work at the ecosystem level.</i><p>Isn'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.)
Nice to see the data confirm the general consensus (by my measure, at least) regarding the Clojure STM options.<p>Like others, I'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.
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.
If you are interested, you can discover the most popular clojure projects (by number of mentions) on LibHunt <a href="https://www.libhunt.com/l/clojure" rel="nofollow">https://www.libhunt.com/l/clojure</a>. As most of us could expect, Logseq is amongst the most popular and most trending projects.