Arguments against Hungarian Notation

Alan Dayley plug-devel@lists.PLUG.phoenix.az.us
Fri May 3 08:45:02 2002


Some general comments:

-Productivity losses result when one programmer takes over code from 
another and their coding styles differ significantly.  Especially if one 
programmer has bad coding habits like non-descriptive variable names or 
inconsistent use of indenting.
-Clean, consistent code results in fewer "accidental" bugs.  Duh.
-If consistent use of Hungarian Notation solves the above problems, use it.
-If you are swimming upstream against "a *lot*" of previous VB programmers, 
you will not win this fight.  You will have to swim with them, most likely, 
or risk the inconsistent code problems and standing out in a negative way 
("Carl is a good programmer but his code is hard to read.")
-Don't argue against Hungarian, argue for some other standard that you 
like.  Provide an alternative from a well known book or industry standard.

Good luck!

Alan

At 07:30 AM 5/3/02 -0700, you wrote:
>Okay I *long* ago decided to give up on Hungarian Notation. (I think
>only VB programmers seems to like it). I now find myself in a shop with
>a *lot* of previous VB programmers who are converting to Java. So I want
>them to stop using hungarian notation. So far the only argument against
>it I could remeber is that it violates OO abstraction. But I *know*
>there are better arguments against than that. Anyone have any sources or
>know of any good reasons against?
>
>Carl Parrish
>
>
>_______________________________________________
>PLUG-devel mailing list  -  PLUG-devel@lists.PLUG.phoenix.az.us
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel

-
/------------------------------------------
|Alan Dayley             www.adtron.com
|Software Engineer       602-735-0300 x331
|ADayley@adtron.com
|
|Adtron Corporation
|3710 E. University Drive, Suite 5
|Phoenix, AZ  85034
\-------------------------------------------