@property

bearophile bearophileHUGS at lycos.com
Thu Jun 24 16:16:10 PDT 2010


Pelle:
> Is split a property? It doesn't mutate a string, and totally could be an 
> instance variable for every given string, but isn't. It doesn't really 
> feel property-like, but writing "a b c".split without parentheses works 
> better than with them.

"a b c".split() is better.

Bye,
bearophile


More information about the Digitalmars-d mailing list