Omissible Parentheses...

Michiel Helvensteijn m.helvensteijn.remove at gmail.com
Sun Aug 2 11:08:03 PDT 2009


Leandro Lucarella wrote:

> Well, just take parameter-less functions then:
> 
> " hello   ".strip.toupper.replace("O", "A"); // "HELLA"

Those would be fine candidates for read-only properties:

" hello   ".stripped.inupper.replace("O", "A");

-- 
Michiel Helvensteijn




More information about the Digitalmars-d mailing list