Should I prefer immutable or const?

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Nov 2 16:23:22 PDT 2016


On Tuesday, 1 November 2016 at 18:55:26 UTC, Jonathan M Davis 
wrote:
> - Jonathan M Davis

Thanks. I'll go for immutable, when possible, then.

I wish I had a shorter way to write immutable, though :)

Do you think it would be possible to adopt Rust's syntax `let`?


More information about the Digitalmars-d-learn mailing list