On Tuesday, 30 August 2016 at 10:50:17 UTC, John Burrton wrote:
This is why the example on the front page put me off for a long
time :-
stdin
.byLineCopy
.array
.sort!((a, b) => a > b) // descending order
.each!writeln;
It makes the language look like some weird high level
functional language where you don't ask how it works and you
shouldn't care how it maps to the machine instructions and
memory.
I bet you if you had a C-style example on the front page, people
would complain that it's old fashioned and not really different
from C, and they'd ask "Why can't I do things like
`stdin.byLineCopy.array.sort!((a, b) => ...` in D?".