What is Hungarian Notation? Is it worthwhile?

Q

What is Hungarian Notation? Is it worthwhile?

✍: Guest

A

Hungarian Notation is a naming convention, invented by Charles Simonyi, which encodes information 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.

2015-05-08, 995👍, 0💬