"retard" <r...@tard.com.invalid> wrote in message news:iejab1$2t...@digitalmars.com... > > As you can see, most of the verbosity comes from the fact that lambdas in > D and C++ contain statements, not a single expression. It's like if-then- > else vs ternary ?: -- In languages like Scala these are the same built-in > feature.
FWIW, I've always found "if() else" and other such constructs to be a bit verbose to use inside an expression. So I've always liked ?: (But I can certainly see the advantages of being able to use statements as expressions.)