Arguments against Hungarian Notation

plug-devel@lists.PLUG.phoenix.az.us plug-devel@lists.PLUG.phoenix.az.us
Fri May 3 15:40:02 2002


Well there's the the Java coding standard wich most of my code follows and *I* think makes sense if we're going to be coding in Java. I just don't think that you need notiation on the type of a variable in a strong type language like Java. (of course now that I'm all excited about Ruby I'm begining to think that scope is *much* more important to notate than type). 
> 
> From: Derek Neighbors <derek@gnue.org>
> Date: 2002/05/03 Fri PM 12:27:45 EDT
> To: plug-devel@lists.PLUG.phoenix.az.us
> Subject: Re: Arguments against Hungarian Notation
> 
> or simply use python, then there is little to argue about. :)
> -d
> On Fri, 3 May 2002, Alan Dayley wrote:
> 
> > 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
> > \-------------------------------------------
> > 
> > 
> > _______________________________________________
> > PLUG-devel mailing list  -  PLUG-devel@lists.PLUG.phoenix.az.us
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel
> > 
> 
> _______________________________________________
> PLUG-devel mailing list  -  PLUG-devel@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel
>