Make dur a property?

Timon Gehr timon.gehr at gmx.ch
Thu Jan 24 15:11:24 PST 2013


On 01/24/2013 04:45 PM, Johannes Pfau wrote:
> Am Thu, 24 Jan 2013 09:20:44 +0100
> schrieb Jacob Carlborg <doob at me.com>:
>
>> On 2013-01-24 03:02, Nick Sabalausky wrote:
>>
>>> foo.bar() // Perform action
>>> foo.bar   // Access data
>>
>> Who says it has to be like this.
>>
>
> .NET guidelines since .NET 1.1 for example:
>
> "In general, methods represent actions and properties represent data."
> (http://msdn.microsoft.com/en-us/library/bzwdh01d%28v=vs.71%29.aspx).
>

This is not C#.


More information about the Digitalmars-d mailing list