Skip to content

Comment on Scala – The Simple Partsparent

Comments

each character increases mental load on the developer

Not so. A quicksort in J is one absolutely lovely counter-example:

    quicksort=: (($:@(<#[), (=#[), $:@(>#[)) ({~ ?@#)) ^: (1<#)
It's unarguably shorter than anything you could write in most other languages, but is it more readable?

My point is that, while too many characters are bad, too few are bad as well. And that possibly the "just right" verbosity varies from person to person. And also that readability is completely unresearched topic without any established facts we could argue about... Anyway, the key takeaway: we're all wrong on the issue of readability and we don't even know how much wrong.

AboutSource Built by g1lg1l

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