Const Variables

Paul Backus snarwin at gmail.com
Sun Apr 3 14:29:22 UTC 2022


On Sunday, 3 April 2022 at 13:50:28 UTC, Salih Dincer wrote:
> Hi all,
>
> Do you have a good example of how const variables actually work?
>
> So I'm not talking about system resources and programming 
> errors.  I want to say it's good.  Because if everything works 
> without it, why does it exist?

This is covered in the const FAQ:

https://dlang.org/articles/const-faq.html


More information about the Digitalmars-d-learn mailing list