Hungarian notation - deux

Related

Based on this entry's title, content and categorisation, the following entries may be related:

It doesn’t happen all that often but when it does, it’s worth the wait.

You see, I’m one of those insubordinate software developers who has for many years insisted that Hungarian notation is crap because not even Hungarians find it useful. I was one of the obnoxiously vocal minority who just refused to conform to variable naming conventions, Microsoft-style.

If you’re not a programmer: Hungarian notation is the practise of prefixing variable names with variable type indicators, in at attempt to make it easy for the programmer to instantly know what type of data she’s dealing with. Is it an integer, string, date, object, currency, etc?

I have always argued that if you knew how to use the IDE and gave your variables meaningful, common sense and semantic names, there’s no need for the stupidity and ugliness of Hungarian. Most “professional” programmers I know disagreed with me. Most books and articles on Visual Basic and C++ (Windows) disagreed with me. Microsoft’s own programmers obviously disagreed with me.

But things have changed.

And they’ve turned right around. Microsoft no longer recommends Hungarian.

Finally.

It doesn’t happen all that often but when it does, it’s worth the wait. It feels good to say, on behalf of the obnoxiously vocal minority:

“I told you so.”

Join the discussion. No responses so far.

Leave a reply:

Please note that all fields are required, unless indicated otherwise. To protect your privacy, your email address will not be displayed.





You can use Markdown or basic XHTML tags for formatting and linking but not BBCode. By submitting a comment, you hereby grant perpetual license to reproduce your words, name, and website in attribution.