Why Ruby?

Walter Bright newshound2 at digitalmars.com
Sat Dec 18 18:13:50 PST 2010


JRM wrote:
> you could write:
> sort!(@1>@2)(x);
[...]
> I think this idea (or something similar) is worth consideration.  It is 
> simply a small extension to an already existing feature that would give D 
> a terser syntax for lambda's than most of the other languages we've been 
> discussing.

but:

    sort!("a>b")(x);

is just as short! And it already works.


More information about the Digitalmars-d mailing list