December 21, 2022

On Monday, 19 December 2022 at 15:52:29 UTC, IGotD- wrote:


Couldn't D could just have used the 'const' keyword for such data.

Then you wouldn't be able to share it across threads. Besides you can still do new immutable int at runtime so it is consistent.

1 2
Next ›   Last »