|
 |
Nicolas Alvarez wrote:
> Darren New wrote:
>> Warp wrote:
>>> Why object about wrong usage of hungarian notation in particular?
>> Because, as I said in the first post, the easiest way to maintain the
>> hungarian notation correctly is to use an IDE sophisticated enough you
>> don't need hungarian notation to start with.
>
> My IDE uses different colors for global variables and member variables.
> No need for m_ or g_ if the colors say enough :)
Yep. That's what I'm saying. By the time your IDE is smart enough that
changing the scope of a variable isn't a tedious process of hunting down all
the references and changing the name, it's probably already recoloring
things so you can tell without the prefix. All the prefix is doing is
putting into ASCII the stuff the compiler already knows, and making you
manage it by hand. (Which is true of an awful lot of C coding, come to think
of it. :-)
--
Darren New, San Diego CA, USA (PST)
Eiffel - The language that lets you specify exactly
that the code does what you think it does, even if
it doesn't do what you wanted.
Post a reply to this message
|
 |