Welcome to Dream.In.Code
Become an Expert!

Join 149,501 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,377 people online right now. Registration is fast and FREE... Join Now!




Hungarian: To be, or not to be?

 
Reply to this topicStart new topic

Hungarian: To be, or not to be?, That is the question.

qdoom
9 Mar, 2007 - 01:21 PM
Post #1

D.I.C Head
**

Joined: 31 Aug, 2006
Posts: 82


My Contributions
Hungarian Notation

I've been using it for a month now. And I'm not really sure about it. I think, it just made my code less readable. I think, it's good, that I tried it out (definitely a tool to have in your tool-kit) and I can see, how and when it could be good (and, well, I'll still keep using stuff like m_ (member variable) and sometimes other prefixes) - but for now, I don't think, that I really need it.
What's your opinion about Hungarian Notation? I would really like to hear experienced programmers giving their opinions on this topic.
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Hungarian: To Be, Or Not To Be?
9 Mar, 2007 - 04:49 PM
Post #2

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,349



Thanked: 51 times
Dream Kudos: 25
My Contributions
Well, speaking only for myself, I often use Hungarian notation. It's a habit I got into when I first began working with weakly typed and dynamically typed languages in order to provide clarity, but it began to seep into my work with strongly typed and statically typed languages as well.
User is offlineProfile CardPM
+Quote Post

1lacca
RE: Hungarian: To Be, Or Not To Be?
10 Mar, 2007 - 01:38 AM
Post #3

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
I must have a split personality, but I use different styles for different languages (at least when they have a well defined one, like Java, or Symbian C++). If I remember well, the Windows API uses Hungarian notation, and I was using it a long time ago when I was dealing with it, but it didn't become a habit of mine, because I didn't deal with weakly typed languages a lot (I guess it's really useful there, or when pointers are mixed with objects). So despite I am a Hungarian, I was doing quite well without it smile.gif
User is offlineProfile CardPM
+Quote Post

NickDMax
RE: Hungarian: To Be, Or Not To Be?
11 Mar, 2007 - 10:58 PM
Post #4

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,867



Thanked: 53 times
Dream Kudos: 550
My Contributions
Well I like the IDEA of hungarian notation. But I have a hard time keeping up with it so I use my own NickDMaxian notation. This is great for me because I know what everything stands for. I tend to use standard variable names and prefix a type identifier, but not as complex as hungarian notiation (as adopted by microsoft). Really I guess I am just too lazy to do it right.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 06:30PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month