mwh21 at cam.ac.uk
Wed Mar 8 10:21:52 CET 2000
"Tim Peters" <tim_one at email.msn.com> writes:
> BTW, while I'm not a fan of Hungarian notation in general, at work we have a
> C++ naming convention violations of which are punishable by death: all
> class data members must be named beginning with "m" + an uppercase letter,
> all file static data "s" + upper, and all extern data "g" (for global) +
> upper. So gErrorCount, sLogHelperTable, mNumBogons, etc. The benefits in
> making quick & accurate sense of unfamiliar code are enormous. Note that
> all code is unfamiliar a week after you write it <0.4 wink>.
At my summer job last year, I was fighting C++ code that had *local*
variables calles things like `m_foreColor'. I could have cried.
very few people approach me in real life and insist on proving they are
drooling idiots. -- Erik Naggum, comp.lang.lisp
More information about the Python-list