Programming language verbosity

submited by
Style Pass
2023-03-18 21:00:06

When people discuss "language X vs. language Y", one of the key factors under discussion is "verbosity": "... but Java is just so verbose!" Put another way, Java apparently has a very high level of redundancy.

One measure of redundancy in a signal is its compression ratio. This is easily computed by comparing the size of code when uncompressed to its size when compressed, with, say, gzip.

I tried this out on each language's most popular three projects on GitHub. The results of this are charted below.

Leave a Comment