Hacker News new | ask | show | jobs
by rhizome 4672 days ago
Concision is a virtue.

Can be.

1 comments

Concision is as short as possible, but still conveys the idea. If you don't get the idea from a piece of code then the code is not concise. It's just short. Concision is a virtue.

Or do you mean there's some value in redundancy? I'd be interested in an example. Even java added the <> to avoid the repeated template parameter,

    Foo<Things> x = new Foo<Things>();
becomes

    Foo<Things> x = new Foo<>();
You can just use projectlombok.org and

    val x = new Foo<Things>();