Why are opCall's not implicitely assignable?

Karen Lanrap karen at digitaldaemon.com
Tue Sep 26 12:05:26 PDT 2006


Bruno Medeiros wrote:

> the more verbose form:
>    car.roof.color = COLOR.LIGHTBLUE;
> is preferable.

Maybe, that from these few lines of code you are getting that 
impression. But what if you are a member of a team that codes colors. 
Would you be pleased to know, that every third word you code is the 
word "color"?

... or would you appreciate a mechanism that prevents you from doing 
so? 



More information about the Digitalmars-d-learn mailing list