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

Brad Roberts via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 11 16:31:57 PDT 2014


On 10/11/2014 3:18 AM, bachmeier via Digitalmars-d wrote:
> On Saturday, 11 October 2014 at 04:11:30 UTC, Dicebot wrote:
>
>> #pleasebreakourcode
>
> No, it's #pleasedeprecateourcode
>
> For a change like this, with proper deprecation, there will be no broken
> code.

Yes, there will be.  That there's a period of transition helps reduce 
it, but to believe that all code everywhere is upgraded during that 
transition is... wishful thinking.

That said, I'm still in favor of this change.  Please, remove the human 
confusion, there's enough of it already and this one is easy to fix.


More information about the Digitalmars-d mailing list