I've been considering abandoning Hungarian notation (HN) for some time for my C# development. Until now, I have been very consistent with it, and used it not only for private members, but also for public properties, parameters, etc... However, there is in the moment a strong movement in the .NET community against HN (well, against Systems Hungarian notation
Many people are following Microsoft's conventions
and stopped using HN for public members. Many seem to continue to use it for private members, for which Microsoft apparently doesn't give any recommendation. Apparently, many people have a gut reaction against HN, and though I am against all kind of extremism, I would hate people to dismiss my code just because I am consistent in using a notation! As much as I try to be a "rebel" and to avoid following any kind of fashion, I must admit that some of the articles I read about that subject last night and today make sense (use this
as a starting point and then just surf away...).
To test that idea, I will first convert one of my control that I wanted to refactor anyway, my RealSimpleBlog
. I am about to release V0.4 of that control (V0.3 was internal only and I never published it on my site), so I'll have a clean slate to start refactoring and see how the non-HN version works. It's sure going to change a few things in my way of working, and it will be interesting to see how that works out.