[Exceptional C++ Style] Fw: const data - was Item 17
Paul Grenyer
paul at paulgrenyer.co.uk
Mon Dec 20 06:51:36 EST 2004
Hi All
Jon Jagger, who is now on this list, sent me the following clarification of
his comments at the ACCU conference:
> Just to provide some context... When I said it didn't matter I meant
> that (IMHO) it didn't matter in that case. I did not mean to imply that
> it never matters. Some concrete context...
>
> The class in question represents a grammar. It contains one (const) data
> member for every non-terminal contained in the grammar. A grammar
> typically contains several hundred non-terminals. The file itself is
> generated by another program. The whole grammar is constant and contains
> no behaviour in and of itself. It is simply a large and reasonably
> intricately structured bit of constant data.
So, Jon's point was NOT about public data in general.
Regards
Paul
Paul Grenyer
email: paul at paulgrenyer.co.uk
web: http://www.paulgrenyer.co.uk
articles: http://www.paulgrenyer.dyndns.org/articles/
Darrell "Dimebag" Abbott will be sorely missed.
More information about the Effective-cpp
mailing list