property syntax strawman

Michiel Helvensteijn m.helvensteijn.remove at gmail.com
Sun Aug 2 12:07:37 PDT 2009


Andrei Alexandrescu wrote:

> I see. My view is that .get and .set are simply symbolic placeholders,
> but indeed some may get confused.

In my design, they are actual functions with actual names.

For D this doesn't really work. If you want symbolic placeholders, you may
want to use something other than 'get' and 'set'. For example, 'in'
and 'out' have been suggested by some. They are already keywords.

-- 
Michiel Helvensteijn




More information about the Digitalmars-d mailing list