Hacker News new | ask | show | jobs
by mrsmrtss 107 days ago
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".
2 comments

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.