`restricted` member variables

deadalnix deadalnix at gmail.com
Thu Jun 23 09:30:49 UTC 2022


On Thursday, 23 June 2022 at 05:41:19 UTC, Ola Fosheim Grøstad 
wrote:
> Stronger typing is desirable in complex performance oriented 
> system level programming. This is the biggest weakness of C. 
> Modules are clearly weaker than class/struct level protection. 
> Weaker typing is not better in this context.
>

It is exceedingly uncommon for a property to be all good or all 
bad. If it was unambiguously true that tighter control is always 
better, all languages would just do very tight control. But in 
practice, they don't.

Usually, while you increase things on one axis, you also diminish 
them on another.


More information about the Digitalmars-d mailing list