### Question 17.8

What is Hungarian Notation''? Is it worthwhile?

Hungarian Notation is a naming convention, invented by Charles Simonyi, which encodes things about a variable's type (and perhaps its intended use) in its name. It is well-loved in some circles and roundly castigated in others. Its chief advantage is that it makes a variable's type or intended use obvious from its name; its chief disadvantage is that type information is not necessarily a worthwhile thing to carry around in the name of a variable.

References: Simonyi and Heller, ``The Hungarian Revolution''

Read sequentially: prev next up top

This page by Steve Summit // Copyright 1995 // mail feedback