Poll: do you use @property semantics?

Timon Gehr timon.gehr at gmx.ch
Sun Oct 2 00:17:32 UTC 2022


On 10/2/22 02:05, razyk wrote:
> On 02.10.22 00:40, Timon Gehr wrote:
> 
>> https://wiki.dlang.org/DIP24
> 
> Diferentiate "property function" and "plain function", why?

Because there should be a way to reliably replace fields by functions 
without refactoring the entire code base.

> Just litle bet more cognitive burden.
> 

The feature has been pretty successful in other languages.


More information about the Digitalmars-d mailing list