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

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 10 16:20:06 PDT 2014


On Sat, 11 Oct 2014 01:13:51 +0200
Joseph Rushton Wakeling via Digitalmars-d <digitalmars-d at puremagic.com>
wrote:

> I don't mind deprecating the syntax that nobody likes.  I mind the
> idea of removing it, because has the potential to break old code for
> no particularly good reason.
there is good reason: this syntax is confusing. if it will stay as
deprecated, newcomers will have just one more question: "why it's still
here?"

and about breaking old code. if this code is so old that nobody will
fix it... well, one can use old compiler to build that code. but that
code rot many years ago anyway: it's unmaintained. it *will* break
sooner or later, there is no sane reason to trying to keep zombie
alive, zombies must be destroyed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141011/a8c5f948/attachment.sig>


More information about the Digitalmars-d mailing list