rainerd at eldwood.com
Sun Oct 31 19:24:59 PDT 2010
On 10/31/2010 16:57, Simen kjaeraas wrote:
> For very short functions, strings are better, because of the length of
> the 'return' keyword. Had D instead always returned the result of the
> last line of a function (unless specified to be of void return type),
> map/filter/reduce would likely not take strings.
In other words: function literals in D are too verbose to be convenient.
This language-level shortcoming is plastered over at the library level.
Rainer Deyke - rainerd at eldwood.com
More information about the Digitalmars-d-learn