On Fri, 2008-03-21 at 06:02 -0700, dom.k.black@[EMAIL PROTECTED]
wrote:
> I am looking at starting a new piece of work for a company who are
> heavily into hungarian notation for C coding.
>
> Any killer arguments for NOT carrying this terrible practice forward
> into new C++ code?
Is that where you name your variables
"a_member_variable_which_is_an_intCompletedItemCount" even though you
could just put at the top of your short function "int&
completed_item_count = this->completed_item_count;"
And if your function is large, delete it and write a small one instead.
Personally I would have liked it if member variables could have only
been referenced via "this". That would be a much better policy - if only
common implementations had a flag to warn (or even error) on use of
members without "this".
--
Tristan Wibberley
Any opinion expressed is mine (or else I'm playing devils advocate for
the sake of a good argument). My employer had nothing to do with this
communication.