D const design rationale

Deewiant deewiant.doesnotlike.spam at gmail.com
Sun Jun 24 01:42:28 PDT 2007


Bill Baxter wrote:
> Sean Kelly wrote:
>> Bill Baxter wrote:
>>> I too am disappointed that the only rebuttal from Walter on const by
>>> default has been "some C++ guys I talked to thought it was weird".
>>
>> Same here.  It's an elegant concept and I'd really like to give it a
>> try.  I think only experience could tell whether it's a practical
>> solution.
> 
> Oh I forgot -- he did give two reasons, actually:
> 1) some c++ guys he talked to think it's weird.
> 2) didn't want to have to have a mutable keyword.
>    (And in some other message later he said something about not wanting
> 'mutable' in D because it left a bad taste in the mouth of some C++ guys.)
> 

I thought we had established that "some C++ guys" will always find something
wrong with any non-C++ language? That's not a good reason for anything.

-- 
Remove ".doesnotlike.spam" from the mail address.



More information about the Digitalmars-d mailing list