Extended Type Design.
Bill Baxter
dnewsgroup at billbaxter.com
Fri Mar 16 17:26:32 PDT 2007
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, while final and const are
> adjectives. It's very awkward to use 'view':
>
> view int * p = &x; // huh?
>
> Andrei
And 'view' is also probably a very popular name for a variable thanks to
things like the "Model-View-Controller" paradigm.
http://www.google.com/codesearch?q=view&hl=en&btnG=Search+Code
--bb
More information about the Digitalmars-d
mailing list