Final by default?
Anonymouse
asdf at asdf.com
Sat Mar 15 16:02:05 PDT 2014
On Saturday, 15 March 2014 at 18:18:28 UTC, Walter Bright wrote:
> 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.
Cough getopt.
More information about the Digitalmars-d
mailing list