Partial modification of DIP23 to allow module level property

Robert jfanatiker at gmx.at
Sat Feb 9 04:01:58 PST 2013


> arrays are by far the most common type of range, I think that it's
> just asking 
> for trouble to allow their front or back to be used with parens.

Except you ebrace the idea that front is a function (property or not)
and make parens work in all cases. Why not do it the other way round,
front has to be a function property or not.

Seems to work far better, it is a simple rule. No performance penalty as
trivial set/get can easily be lined in, ...




More information about the Digitalmars-d mailing list