Make const, immutable, inout, and shared illegal as function attributes on the left-hand side of a function

Joseph Rushton Wakeling via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 13 14:34:32 PDT 2014


On Monday, 13 October 2014 at 17:15:34 UTC, John Colvin wrote:
> The only argument that's left is: "I don't mind you breaking my 
> code by fixing bugs in the implementation, but I do mind when 
> it's for cleaning/changing the language/phobos". In light of 
> recent comments from heavyweight users saying "please break my 
> code in the name of improving the language and libraries", I 
> don't think it holds much water.

Well, in this case we don't necessarily need to break anyone's 
code, it would be possible to stop at deprecation.

But generally speaking, I agree with you, which is why I was 
hoping to move the debate to, "What are the circumstances under 
which these breaks are possible," rather than "Should 
we/shouldn't we".


More information about the Digitalmars-d mailing list