hungarian notation is evil (was Re: Do I always have to write "self." ?)

Alex cut_me_out at hotmail.com
Thu May 4 13:37:46 EDT 2000


> > release.  Is it painful?  You bet.  Just ask Billy -- the translation
> > from old symbol names to new names broke the compile for weeks.  But
> > once it was all over, I had fixed no less than 14 bugs that would
> > *never* become apparent until after I'd released the code to the
> > public.  Most of the bugs were bound to be of the "intermittent" type
> > too, so I was particularly pleased at the end result.
> 
> If your problems are solved by this kind of mindless busy work, you
> have much bigger problems that any amount of hungarian notation will
> ever fix.  I good primer on writing maintainable code is recommended.
> Try _Programming_with_Dick_and_Jane_.

I'll never try Hungarian notation, as I'm too lazy.  But I am curious
about which elementary programming techniques you think could have
helped this person find his 14 mysterious bugs.

Alex.



More information about the Python-list mailing list