D's greatest mistakes

architect smürf at village.net
Wed Dec 1 06:27:40 PST 2010


Walter Bright Wrote:

> Robert Jacques wrote:
> > D's omissible parenthesis strike me as being half-way between C#'s 
> > properties and Eiffel's Uniform Access Principle. Given Eiffel's 
> > influence on D, was there a reason why you didn't implement the uniform 
> > access principal instead of omissible parenthesis?
> 
> I haven't studied Eiffel that much, and remember that D came out at the same 
> time as C#, not after it.

You should study Eiffel that much. I think the answer to Robert's question is that Walter was too busy to study how the feature should have been implemented. This lead to the half-baked nearly useable feature we have now. It's like building a skyscraper without learning any western architecture. Increases the risk of collapse 99,8% in the first weeks after the building has been started.


More information about the Digitalmars-d mailing list