this post was submitted on 07 Feb 2026
12 points (68.8% liked)

Programming

25438 readers
327 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] tyler@programming.dev 10 points 3 days ago

Like someone on lobste.rs says:

Or an unrelated point: who do you believe, this data or your lying eyes? Java and Perl are not similar in their verbosity!

How in the world does Ruby have a lower DRYness than Java? This person’s code just does not work. And Java is almost as high as Kotlin? I’ve done conversion of millions of lines of Java to Kotlin. Just a direct conversion alone will save you 20% of your lines, and that’s without even bothering to switch to Kotlin code style, so that’s with Streams and massive if statements rather than pattern matching.

LaTeX only has 67% uniqueness? Huh????

This article has major problems.

[–] FishFace@piefed.social 11 points 4 days ago

I call boilerplate having to repeat types because there's no type inference, but this is not captured here.

Kolmogorov complexity would be a good denominator, but you'd end up with a higher boilerplate score if your language just uses longer keywords

[–] tatterdemalion@programming.dev 4 points 3 days ago (1 children)

I can't take this seriously if MATLAB is near the top of the scoreboard.

[–] FizzyOrange@programming.dev 2 points 2 days ago

Why? MATLAB is pretty dense normally, and most MATLAB code is hacky scripts that wouldn't bother with "boilerplate" anyway.

[–] FizzyOrange@programming.dev 3 points 3 days ago

Yeah I think just counting fully unique lines is going to really capture the repetitiveness of a language. I think you'd get more accurate results just asking people using pairwise ranking.