Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: To use or not to use Hungarian Notation, this is the question (o.t)

Author: Bo Persson

Date: 10:40:29 03/05/04

Go up one level in this thread


On March 04, 2004 at 21:26:18, Omid David Tabibi wrote:

>
>"w" standing for "word" used for 16 bit variables, which are no longer a word.
>Same problem with long. And hell will break loose if you decide to change a
>variable from char to unsigned char; you have to rename all the instances of the
>variable from cVar to byVar!
>

This often ends up in you changing the type without changing the prefix. It is
just too much work, so it's easier to cheat!

Try reading this article by Jim Hyslop & Herb Sutter, "Hungarian wartHogs":

http://www.cuj.com/documents/s=7989/cujcexp1911hyslop/



Bo Persson








This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.