const?? When and why? This is ugly!

Derek Parnell derek at psych.ward
Sat Mar 7 07:15:33 PST 2009


On Sat, 07 Mar 2009 07:09:34 -0800, Andrei Alexandrescu wrote:


> I don't think char[] is half bad. const(char)[] is a mouthful, but most 
> of the time those are function parameters, where the handy in char[] 
> applies.

I was think more as unambiguous words we can use in discussions and not so
much as aliases in our code.

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list