News for hackers. Stuff that matters.
Re:Stability by Design by alexjurkiewicz on Thursday May 08, 2025 @08:23PM (#43932675)
I think code retention charts will look similar for any major library in any language. Projects accrete code.

You could instead consider:

* How many major version releases / rewrites happen in this language? (This might be a sign of ecosystem instability.)

* How much new code is replacing old code? (This might imply the language needs more bugfixes.)

Re:Stability by Design by potetm on Thursday May 08, 2025 @08:27PM (#43932692)
Not sure what you mean. The Scala example looks nothing like the Clojure examples.

The retention charts show you how much new code is replacing old code, and you can see the releases/rewrites as the code gets replaced.

Re:Stability by Design by chatmasta on Friday May 09, 2025 @12:34AM (#43933814)
The charts are very cool. But they’d be more informative if they tracked _interface_ changes. Maybe Scala is more flexible and the code changes are limited to optimizing the underlying implementation while keeping stable interfaces. It’s impossible to tell from the charts.
Re:Stability by Design by KronisLV on Friday May 09, 2025 @07:19AM (#43935598)
> code retention charts

I really liked those charts, I wonder how you can generate them, whether there's a tool out there that you can just feed a Git repo into or something.

Re:Stability by Design by potetm on Friday May 09, 2025 @08:14AM (#43935917)
pip install git-of-theseus git clone repo cd repo git-of-theseus-analyze . git-of-theseus-stack-plot cohorts.json
Re:Stability by Design by KronisLV on Saturday May 10, 2025 @10:40AM (#43946023)
Thank you! This was super useful!