Settings

Theme

Boilerplate Tax – Ranking popular programming languages by density

boyter.org

4 points by hackandthink a month ago · 1 comment

Reader

lioeters a month ago

> If you compare Clojure (77.91%) to C# (58.4%), it seems the average C# developer writes 20% more redundant code every single day just to satisfy the compiler. Even with tools like resharper and LLM’s to help thats not a insignificant amount of effort.

Code density or "dryness" is an interesting metric to consider, where too much density may result in a codebase that's hard to read. It may be influenced by personal preference too, or language design goal. Surprising how Go and Rust ended up with similar numbers.

Would be curious to see more languages included, I imagine K and some esoteric languages rank even higher on density.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection