const

Hans W. Uhlig huhlig at clickconsulting.com
Sun Mar 30 16:05:10 PDT 2008


Scott S. McCoy wrote:
> 
> I don't think types should consist of compound phrases.  /viewof/ sounds 
> like a method name, not a part of the primitive type system.  If you 
> forget about the existing /const/ in D 1, /const/ beats out /viewof/ on 
> several counts:
> 

An alternative is you could call it "sacred" or "shielded", while it may 
sound silly having a sacred array[] would be a rather distinct way of 
saying lookie but no touchie.



More information about the Digitalmars-d mailing list