Hungarian Notation

I’ve long felt that much was wrong with Hungarian Notation, but would still find myself using something similar from time to time. Since I couldn’t decide if this was right behavior that felt wrong, or wrong behavior that felt right, it was satisfying to discover that the usual culprits were to blame. Sure enough, someone had taken a good idea and run with it in entirely the wrong direction.

The Wikipedia article mentions some of this, but this article by Joel Spolsky is worth reading: “Making Wrong Code Look Wrong” Actually, many of Joel’s articles are worth reading, but this one covers the details of why Hungarian isn’t evil when you understand what Charles Simonyi actually had in mind.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.