V Thu, 09 Oct 2014 10:50:44 +0200 Martin Nowak via Digitalmars-d <[email protected]> napsáno:
> Kenji just proposed a slightly controversial pull request so I want > to reach out for more people to discuss it's tradeoffs. > It's about deprecating function qualifiers on the left hand side of a > function. > > So instead of > const int foo(); > you'd should write > int foo() const; > > Then at some future point we could apply the left hand side > qualifiers to the return type, e.g. `const int foo();` == `const(int) > foo();` > > Would this affect your code? Yes (but I am ok with that) > Do you think it makes your code better or worse? Definitely better > Is this just a pointless style change? No > Anything else? Merge this ASAP, please :)
