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

Ola Fosheim Grostad via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 10 14:05:23 PDT 2014


On Friday, 10 October 2014 at 20:51:53 UTC, Walter Bright wrote:
> On 10/10/2014 10:31 AM, Iain Buclaw via Digitalmars-d wrote:
>> You shouldn't be blaming C++ for mistakes that D made.
>
> I meant when perceptions about what something means are carried 
> over from one language to another.

Yeah, but you asked for it by deliberately making D C-like. Being 
alike, but different is more confusing than just being different, 
e.g.:

"qualifier symbol : type;" would probably have been more 
intuitive.


More information about the Digitalmars-d mailing list