Why are opCall's not implicitely assignable?
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Tue Sep 26 08:13:20 PDT 2006
Karen Lanrap wrote:
> Mike Parker wrote:
>
>> make your code as readable as possible.
>
> Without any measure of readability this requirement is as useful as
> the word user-friendly.
>
Readability is subjective, so there cannot be a proper measure of
readability. So this point in discussion (whether your overload syntax
should be used) is mostly a subjective point.
I too am of the opinion that such usage is not very elegant and that the
more verbose form:
car.roof.color = COLOR.LIGHTBLUE;
is preferable.
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d-learn
mailing list