Revised RFC on range design for D2
Sergey Gromov
snake.scaly at gmail.com
Sat Sep 27 14:37:33 PDT 2008
Sat, 27 Sep 2008 15:19:01 -0500,
Andrei Alexandrescu wrote:
> My point is that I agree with all concerns you are raising but I am not
> sure they warrant adding a language feature.
I hoped for some reason that these features could simplify the compiler.
Now when I think about it I conclude that I was probably wrong.
Explicit properties is definitely a feature, even though it seems easy
to implement. Injectons could help if Walter were forced into supporting
different scoping rules for unified call syntax, but if a.f(b) stays
strictly a sugar for f(a,b) this feature helps nothing from a compiler
standpoint.
So I'll probably agree that these features don't add much to the
language, as D doesn't add much to C except safety, productivity,
maintainability and claritiy. The clarity/maintainability vs genericity
is a tradeoff which is completely in Walter's hands.
More information about the Digitalmars-d-announce
mailing list