Extended Type Design.

Derek Parnell derek at psych.ward
Fri Mar 16 14:30:58 PDT 2007


On Fri, 16 Mar 2007 14:03:13 -0700, Andrei Alexandrescu (See Website For
Email) wrote:

> Sean Kelly wrote:
>> For what it's worth, I like: 'final', 'view', and 'const' the best. 
>> They're all short and meaningful, given the intent for each.
> 
> The problem with 'view' is that it's a noun, 

As in "to view or not to view, that is the question" <g>

> while final and const are adjectives. 

So how does the argument from NLP about 'super' being used to qualify nouns
sound now? 

> It's very awkward to use 'view':
> view int * p = &x; // huh?

But this isn't ... ?

  super const int * p = &x; 

How about ...

  const int * const p = &x;


-- 
Derek Parnell
Melbourne, Australia
"Justice for David Hicks!"
skype: derek.j.parnell



More information about the Digitalmars-d mailing list