member arguments in D?

bearophile bearophileHUGS at lycos.com
Sun Apr 26 06:02:22 PDT 2009


carlos smith:
> Why the keyword ?
> Why not just:   this(a,b) {  } ?

Please, lets not mud the language too much for a small syntax gain.
(What may be added to D is a syntax to create getters/setters in a simple and short way. We have discussed this in the past, C#4 shows a good starting point for this).

Bye,
bearophile



More information about the Digitalmars-d mailing list