The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
133 views

Why do we use hungarian notations on local variable but not on function or global variable? [closed]

That doesn't seem to make sense. In local variable, we sort of know the type anyway. It's local. We're working on it. Yet in function name or global variable, the definition is very far away on ...
1
vote
4answers
506 views

“Is” prefix and “On” suffix as reasonable exceptions to a “non-hungarian” naming standard?

First, I believe I've seen this question discussed here before, but I cannot find it. My apologies if you do find it. I'm starting a new project, and trying to figure out why IsResolved and/or ...
4
votes
5answers
424 views

What happened to the this type of naming convention?

I have read so many docs about naming conventions, most recommending both Pascal and Camel naming conventions. Well, I agree to this, it's ok. This might not be pleasing to some, but I am just trying ...
16
votes
6answers
6k views

Is hungarian notation a workaround for languages with insufficiently-expressive (i.e. Haskell-style) static typing?

Edit To be clear, I'm not talking about annotation variable names with the data type, but rather with information about the meaning of the variable in the context of the program. For example, a ...
9
votes
3answers
724 views

Struggling not to use Hungarian notation

I've seen arguments for and against Systems Hungarian. For some years I've been working on a legacy project that uses this system by naming every variable, function with a prefix of the variable type ...
29
votes
13answers
3k views

Do you prefix variable names with an abbreviation of the variable types? (Hungarian Notation)

In my current job, there are no coding guidelines. Everyone pretty much codes the way he wants. Which is fine, since the company is small. However, one new guy recently proposed to always use ...
16
votes
8answers
2k views

What is the appeal of Systems Hungarian? [closed]

In What naming guidelines do you follow?, the author says: Also I prefer to code using hungarian notation from Charles Simonyi. I've run in to several programmers who still prefer to use ...
9
votes
12answers
399 views

Are type and scope prefixes worthwhile naming conventions?

Recently starting my first job as a software developer, I was a little thrown to be told that I did not have to follow any naming conventions in my code. Code written by groups working on other, ...