Does D have too many features?

H. S. Teoh hsteoh at quickfur.ath.cx
Sun Apr 29 19:31:00 PDT 2012


On Sun, Apr 29, 2012 at 10:40:03PM +0200, Alex Rønne Petersen wrote:
> On 29-04-2012 00:04, H. S. Teoh wrote:
[...]
> >Yeah, .sort is redundant, and besides shouldn't be an array
> >"property" to begin with.
[...]
> Let's not forget .reverse. Why these are properties (and .dup/.idup)
> is seriously beyond me.....
[...]

AFAIK, it's a historical accident. These "properties" date from before
people decided to distinguish between methods and properties.


T

-- 
"A man's wife has more power over him than the state has." -- Ralph Emerson


More information about the Digitalmars-d mailing list