Final by default?

Walter Bright newshound2 at digitalmars.com
Sat Mar 15 11:18:27 PDT 2014


On 3/15/2014 2:21 AM, Paulo Pinto wrote:
> In any language with properties, accessors also allow for:
>
> - lazy initialization
>
> - changing the underlying data representation without requiring client code to
> be rewritten
>
> - implement access optimizations if the data is too costly to keep around

You can always add a property function later without changing user code.



More information about the Digitalmars-d mailing list