// Internet Duct Tape

Apps Hungarian Notation vs System Hungarian Notation

Posted in Links, Programming and Software Development, Technology by engtech on April 14, 2006

Making Wrong Code Look Wrong – Joel on Software

Hungarian notation has a bad rap. The initial prefix should be used to indicate the “kind” of variable, not the “type”.

Apps Hungarian had very useful, meaningful prefixes like “ix” to mean an index into an array, “c” to mean a count, “d” to mean the difference between two numbers (for example “dx” meant “width”), and so forth.

And functions would be called AFromB or something like that so that when you write it out it looks like:

aVar = AFromB(bVar);

Comments Off on Apps Hungarian Notation vs System Hungarian Notation

%d bloggers like this: