On Monday, 11 January 2021 at 18:02:19 UTC, Ola Fosheim Grøstad wrote:
On Monday, 11 January 2021 at 17:48:13 UTC, Paul Backus wrote:
Why? I'd say that an `immutable(Tuple)` should be immutable, and a `Tuple` should be mutable, as is the case with literally every other type in D.

Tuples are usually immutable, it brings more correctness.

I agree that immutability has benefits, but I don't see why tuples should be singled out for special treatment in this regard. Why is immutability more important for tuples than for any other kind of data?

Reply via email to