Re: I Hate Hungarian Notation (if you view please vote, I'm interested)
Quote:
Originally Posted by RhinoBull
It's obvious that you haven't worked for some major corp were coding rules are very strictly enforced and people are getting fired for not following. Whether you like it or not is not the point - it's a work discipline wich quite often plays major role in a team environment. If you feel like you don't fit in it then you must go but never suggest that what you dislike is a bad habbit.
I wish this thread would be closed - very much pointless gossip.
Basically If you are using Code Profilers and reviews, you have to follow a consistent standard and follow it by heart. If you don't, then you are not a good programmer. This is how it is in most of the organisations.
As already said by Rhino, the applications that are being developed will be maintained by others and we should not develop it in such a way that they will curse us when they open up the project and see just meaningless code without consistency. :sick:
Right now I have mostly seen people using Camel Casing (not sure about VBF members), and camel casing is what is good and makes good sense.
Hungarian was good in VB 6.0 but when it comes to .NET, I think camel casing has got an edge. :)
Re: I Hate Hungarian Notation (in the context of VS.NET, which is where I live)
Oka... I'm new to .NET and maybe I shouldn't ask this, but... does it matter? Why does it matter so much what names I choose for my variables? I like to use names like "ButtonOK", "ListBoxNames" or "OleDBConnectionFile". Is this wrong? Probably yes... but why, as long as anyone who reads my code understands it? Maybe it's too long, but you don't have to type the whole name, so why does this matter?
And one more thing... does hungarian notation have any connection with Hungary (the country) or is it coming from "hungry"? :)
Thank you.
Re: I Hate Hungarian Notation (in the context of VS.NET, which is where I live)
I could be mistaken, but I believe the story was Hungarian Notation is so named because it makes variable names look like Hungarian (gibberish).