@property - take it behind the woodshed and shoot it?

Michael pr at m1xa.com
Mon Jan 28 13:54:20 PST 2013


On Monday, 28 January 2013 at 21:03:04 UTC, Max Samukha wrote:
> Let's face it: there are *no* objective criteria for 
> determining whether a mutator should be a function or property 
> setter.

Yes, but also it's should be a lightweight action (main idea).

As proposal:

http://forum.dlang.org/post/ydcjggoibjmuuoobgrvq@forum.dlang.org

And C# Property notes
http://msdn.microsoft.com/en-us/library/w86s7x04.aspx
http://msdn.microsoft.com/en-us/library/x9fsa0sw.aspx

and quote

> At all, it looks like C# style in D Way.
> --no-parenthesis for current behaviour for non-property 
> functions.


More information about the Digitalmars-d mailing list