The problem with const proposals

Robert Fraser fraserofthenight at gmail.com
Fri Dec 7 12:40:14 PST 2007


Gregor Richards wrote:
> Not a single person on this board (and I mean NO ONE) has a grasp over 
> everything that one can reasonably expect const to do. What we need to 
> do is construct a complete list of features that the const system ought 
> to have, so that any const proposal can be checked against the "good 
> clean const fun" checklist. Instead, what we have is suggestion after 
> suggestion, each with good points but each with fundamental flaws. We're 
> never going to get anywhere like this because nobody knows what everyone 
> needs.
> 
> Disclaimer: It is of course impossible to make a list that makes 
> everyone happy. C'est la vie.
> 
>  - Gregor Richards

Okay, I'll throw my hat into the ring. The most paramount requirement of 
const for me is _ignorability_. That is, if I don't want to use const or 
think about const, or even understand const, that should be mostly possible.



More information about the Digitalmars-d mailing list