C++ vs Lisp

Bill Baxter dnewsgroup at billbaxter.com
Mon May 19 08:01:28 PDT 2008


Simen Kjaeraas wrote:
> bearophile Wrote:
> 
>> Simen Kjaeraas:
>>> In D, you can* use list.sort.reverse.process or  
>>> list.sort().reverse().process(), if you like parentheses.
>> You must use parentheses there :-)
> 
> Not according to my programs. Well, for process, maybe. I just tested with sort and reverse, which works without parentheses.

And if list is a built-in array, you must *not* use parentheses on sort 
and reverse.

--bb



More information about the Digitalmars-d mailing list