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 14:05:40 PDT 2014


On Fri, 10 Oct 2014 13:51:54 -0700
Walter Bright via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> Overloading keywords with more than one meaning is common practice
> and isn't necessarily bad in a programming language. In D, we
> overload 'this' with at least 3 distinct meanings.
and 'enum' too.
-------------- 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/ae2afa44/attachment.sig>


More information about the Digitalmars-d mailing list