On Monday, 2 April 2018 at 15:05:04 UTC, Seb wrote:
On Monday, 2 April 2018 at 14:51:57 UTC, Vladimirs Nordholm
wrote:
On Monday, 2 April 2018 at 14:20:49 UTC, Dennis wrote:
[...]
Ah! First time I read the docs I didn't understand the
typeof(exp) explanation, but yours made me understand that
part.
Do you think I should I omit the @property tag, if the only
wanted behaviour is to set a value (`foo.bar = "baz";`) ?
Yes I would omit @proporty if you don't need it as it isn't
really useful at the moment.
There's a DIP to fix it and make it more powerful though:
https://github.com/dlang/DIPs/pull/97
And if you are looking for @read, @write limitations the
accessors library might be interesting to you:
https://code.dlang.org/packages/accessors
Nice read, and the library seems interesting 👍