On Thursday, 20 September 2012 at 12:59:51 UTC, Will Rubin wrote:
Thanks for the detailed reply. It's too early for me to have much of an opinion but I'll take your approach and use @Property without parens (as I would in C# for example) and stick with the empty parens for non-property functions as it's a bit clearer to see what's really going on at this right now.

FYI, you can use the -d compile option to enforce the "proper" usage.

A bit interesting to see I can declare a write property that returns a value rather than void.

Why would a property return void. If anything, it would return a non void:

auto a = someRange.front;

front is a property that returns a value.

Reply via email to