Omissible Parentheses...
Leandro Lucarella
llucax at gmail.com
Sun Aug 2 11:46:04 PDT 2009
Michiel Helvensteijn, el 2 de agosto a las 20:08 me escribiste:
> 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");
That looks a little better indeed =)
--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
You look so tired-unhappy,
bring down the government,
they don't, they don't speak for us.
More information about the Digitalmars-d
mailing list