Skip to content

Comment on Boilerplate Tax – Ranking popular programming languages by densityparent

Comments

The Benchmarks Game has some highly optimized implementations and is not a good representation of typical code. Some languages allow you to go a lot lower than others if needed, which adds verbosity, that does not mean typical code must be verbose. There are things possible in C# that you just can't do in Java, for example. That does not mean typical Java code is more concise than C#. On the contrary, typical C# would be probably considerably more "dense".

Good points.

There is a trade-off.

Outside hotspots, readability / maintainability should take precedence.

I dislike the short windows for editing / deletion.

I could have just agreed and left it at that.

And yet, it may still be "a better gauge for code density".

… is not a good representation of typical code.

afaict that's unknown and "typical" weasel word and median.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.