[comp.software-eng] HungExperiences with Hungarian Naming Conventions

neil@swdev.Waterloo.NCR.COM (Neil A. Law) (08/12/89)

I am heading up a team which is defining coding standards for our various
groups.  Naturally as part of this the topic of naming conventions came up. 
One of our groups has been experimenting with Hungarian notation and it has
been suggested that it be adopted into the standard.  Problem is internally
we have had very little experience to this notation (the group using it is only
a couple of months old) and its use.  Also, some of the source we develop
is distributed to developers outside of our organization for incorporation
into their own thus they will have to cope with this notation if adopted.

Before adopting this notation we (the standards group) would like to get a
better feel for how widespread is the use of Hungarian Notation and how
effective is it.

I would appreciate input from those who have had any experiences in this area
both pro and con.  Things such as:

     - Have you looked at it and decide against? Why?
     
     - Have you picked it up and dropped eventually? Why?
      
     - Are you using now extensively?
      
     - Good and bad experiences with its use.


Please Email to the address below.  I will summarize to the net later.
-- 
==========================================================================
  >>>> Neil Law, Systems Architecture <<<<             519-884-1710 x499
  E&M Waterloo, NCR Canada Ltd, 580 Weber St. N., Waterloo, Ont. N2J 4G5
  N.Law@Waterloo.NCR.COM                  uunet!ncrlnk!ncrwat!swdev!neil

thh@hpindda.HP.COM (Tom Harper) (08/30/89)

I worked on a project that used a naming scheme like the hungarian 
notation. We did not follow the exact format used by Microsoft.

At first, I did not like it, due to the extra typing.  I now
use it whenever programming becuase of the greater code
readability.  The problem stated about loss of data abstraction
did not seem to be a problem in practice.  We also used 
macros (denoted m<macroname>()) for data structure access,
so any changes to data structures were hidden from the code
in the macro definition.  

I will push for the use of hungarian notation whenever talk
of coding standards for any project I work on rears its
ugly head.

Tom Harper   thh@hpda.HP.com