Properties: .sort and .reverse

Moritz Warning moritzwarning at web.de
Wed Jul 29 04:46:53 PDT 2009


On Tue, 28 Jul 2009 16:46:51 -0700, Bill Baxter wrote:

> One more thing I'd like to mention regarding properties.
> 
> It has long annoyed me that .sort and .reverse are functions, but CANNOT
> be called like functions.
> So even if I'd like to make a distinction between properties and
> functions in my usage, I cannot with those two.  We should fix that.
> 
> I think they may both be headed for the chopping block, but if not we
> should fix em.
> 
> --bb

They should go into a library.
I wonder why they ended up in the language anyway..



More information about the Digitalmars-d mailing list