Hacker News new | past | comments | ask | show | jobs | submit login

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.)






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.


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.

> 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.


pip install git-of-theseus git clone repo cd repo git-of-theseus-analyze . git-of-theseus-stack-plot cohorts.json

Thank you! This was super useful!



Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: