any news on const/invariant?

Sean Kelly sean at f4.ca
Thu Nov 29 08:40:41 PST 2007


Walter Bright wrote:
> 
>> I'm only saying that I think there is another set of keywords that 
>> have a much higher match between the dictionary meaning of the words 
>> and their semantic meaning in D.
> 
> I don't believe there is (and we looked!), and readonly isn't it. To me, 
> readonly means ROM (burned in to read only memory chips), not read only 
> view. I've even seen 'readonly' used in some languages to literally mean 
> "this stuff goes into ROM".

I favor "view" but I suppose it's too common a word.  "guard" seems 
reasonable as well, but is also probably too common.


Sean



More information about the Digitalmars-d mailing list