On 16.02.2016 11:17, Jonathan M Davis wrote:
On Tuesday, 16 February 2016 at 10:06:12 UTC, ZombineDev wrote:
Another bonus to introducing the mutable keyword is the option to make
everything immutable by default (in a future version of D) and allow
the users to have mutable objects only if they use the mutable keyword.
While some folks do bring that up from time to time, I think that it's
pretty clear that that would be so restrictive that it would risk
killing D. As it is, many programmers avoid const altogether, because
it's too restrictive.
Immutable by default would not be what we have now (transitive immutable).