Learning to use hungarian notation
I thought I’d look up Hungarian Notation because today because I want to make the code samples I’ve been writing as easy for VB.NET programmers to read as possible.
I’ve never liked hungarian notation because I think it makes code harder to read, so I’m quite glad that it’s no longer microsoft standard. I think the variable name BackgroundColor looks much more like english to me than clrBackground and I think the closer my code reads like real language, the easier it is to understand. I think that’s one of the nice things about object oriented design, it makes programming a bit more like the real world. It makes programming a bit like telling a story about how some things in our program interact.
I’m sure a fair amount of it is just whatever you’re used to, but I just wanted to save the link to a very interesting post that explains quite nicely where hungarian notation comes from and why it’s not really that relevant anymore.
