Revised RFC on range design for D2

Bent Rasmussen IncredibleShrinkingSphere at Gmail.com
Fri Sep 26 18:18:12 PDT 2008


> I think that property function call feature in general adds an 
> unnecessary ambiguity to the language.  I'd prefer functions to be 
> callable only with regular function call syntax, and properties be 
> usable only with member access syntax.  The same stands for 'unified 
> function call' feature: if you want to inject a method into an 'array of 
> chars' class you do so explicitly, and only the member call syntax is 
> allowed on that method.  Otherwise code tends to become ambiguous and 
> unreadable.

Or abstracted and generic.

Bent


 


More information about the Digitalmars-d-announce mailing list