[Issue 13388] accept '@' before 'nothrow' and 'pure'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jan 28 07:24:06 PST 2015


https://issues.dlang.org/show_bug.cgi?id=13388

--- Comment #33 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
(In reply to Sobirari Muhomori from comment #32)
> Automated migration from keyword syntax to attribute syntax can be done by
> dfix. Then attribute syntax can be enforced if needed.

I don't think that that's really the problem. The problem is that no proposal
has been given which really makes the attribute names consistent in a way that
makes sense to actually change to. We may agree that the status quo is ugly,
but how things should be changed is not at all clear. So, we don't even know
how we'd want to change the language to fix the attribute situation.

And even if dfix makes it easy to change code, breaking code still causes
problems. So, while dfix will definitely help reduce the pain when we do decide
to make changes to the language which will require changing existing code, it
doesn't make the language changes free. The fact that dfix could make it easy
to change existing code does not mean that it's okay to make breaking changes
without a very good reason behind them.

--


More information about the Digitalmars-d-bugs mailing list