Make dur a property?

Jacob Carlborg doob at me.com
Sat Jan 26 12:23:17 PST 2013


On 2013-01-26 19:55, Nick Sabalausky wrote:

> Interesting.
>
> Although with that in mind it seems my earlier statement is not
> entirely true. There are languages that offer a "publically read-only"
> feature: C# and Haxe. I think it just didn't occur to me because they
> do it via shorthand versions of their property syntaxes.

Depending on how you look at it, D1 with const variables does as well 
and Java with final variables.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list