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
Sat Oct 11 16:09:48 PDT 2014


On Sat, 11 Oct 2014 22:41:50 +0000
bearophile via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> Jonathan M Davis:
> 
> > and it's primarily been Walter who hasn't wanted it on the
> > grounds that it's more consistent as it is
> 
> Consistency is a good thing to have

and it's not a goal, it's just a nice way to say "i don't want this".
see "@safe", "@trusted", "pure" and "nothrow", for example. i can
hardly say that it's consistent. "breaking consistency" rising up only
if there is nothing else to say against something.
-------------- 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/20141012/2878d42b/attachment-0001.sig>


More information about the Digitalmars-d mailing list