Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Hungarian notation


Related Topics

In the News (Sat 11 Oct 08)

  
  (ootips) Hungarian Notation - The Good, The Bad and The Ugly
The advantage of Hungarian notation is a reminder of the type of a variable.
Hungarian notation (or a variation of this) has its place in C++ when referring to data that really DOES have a particular type, by its very nature.
Hungarian notation is, when all is said and done, a commenting technique.
www.ootips.org /hungarian-notation.html   (671 words)

  
  Hungarian notation - Wikipedia, the free encyclopedia
Hungarian notation is a naming convention in computer programming, in which the name of an object indicates its type or intended use.
In Hungarian notation, a variable name starts with one or more lower-case letters which are mnemonics for the type or purpose of that variable, followed by whatever the name the programmer has chosen; this last part is sometimes distinguished as the given name.
While Hungarian notation can be applied to any programming language and environment, it was widely adopted by Microsoft for use with the C language, in particular for Microsoft Windows, and its use remains largely confined to that area.
en.wikipedia.org /wiki/Hungarian_notation   (1021 words)

  
 Hungarian Notation - FOLDOC Definition   (Site not responding. Last check: 2007-10-08)
Hungarian Notation is mainly confined to Microsoft Windows programming environments, such as Microsoft C, C++ and Visual Basic.
Hungarian Notation is not really necessary when using a modern strongly-typed language as the compiler warns the programmer if a variable of one type is used as if it were another type.
Type and scope are aspects of this, but Hungarian Notation overemphasises their importance by allocating so much of the start of the name to them.
www.nightflight.com /foldoc-bin/foldoc.cgi?Hungarian+Notation   (321 words)

  
 HUNGARIAN NOTATION - Definition
Hungarian Notation is mainly confined to Microsoft Windows programming environments, such as Microsoft C, C++ and Visual Basic.
Hungarian Notation is not really necessary when using a modern strongly-typed language as the compiler warns the programmer if a variable of one type is used as if it were another type.
Type and scope are aspects of this, but Hungarian Notation overemphasises their importance by allocating so much of the start of the name to them.
www.hyperdictionary.com /computing/hungarian+notation   (294 words)

  
 Buggin' My Life Away : Hungarian Notation
That’s something of a shame, because Simonyi-style Hungarian Notation was the basis leading a certain Excel developer to devise such function names as CleanPots and FreePot (a POT being a “piece ‘o’ text”).
This is pretty close to the pure Simonyi hungarian (although the Klunder memo isn't clear if the prefix represents the type or the usage of a variable (consider a char * that's used as an array of characters - is it a sz or is it an rgch?).
Systems hungarian (also known as Ludwig hungarian) is the hungarian that the User team (led by Scott Ludwig) in Windows adopted for Windows 3.1.
blogs.msdn.com /rick_schaut/archive/2004/02/14/73108.aspx   (1465 words)

  
 Larry Osterman's WebLog : Hugarian notation - it's my turn now :)
In Apps Hungarian, the prefix is related to the USE of the data.
The same parameter in Apps Hungarian is “cb” – the “c”; prefix indicates that the parameter is a type, the “b” suffix indicates that it’s a byte parameter.
Hungarian as defined by Simonyi isn’t nearly as bad as some have made it out to be.
blogs.msdn.com /larryosterman/archive/2004/06/22/162629.aspx   (4231 words)

  
 Greg's guide to Hungarian Notation
Hungarian Notation is a naming convention that (in theory) allows the programmer to determine the type and use of an identifier (variable, function, constant, etc.) It is frequently used in Windows programming, so a quick guide (such as this one) may be useful if you're working with Windows code but can't follow the naming scheme.
A variable name in Hungarian notation consists of three parts: the prefix (or constructor), base type (or tag), and qualifier.
Some difference in notation should be used to distinguish the qualifier from the constructor + tag portion.
www.gregleg.com /oldHome/hungarian.html   (1894 words)

  
 Hungarian Notation - Doug Klunder
Hungarian is largely language independent; it is equally applicable to a microprocessor assembly language and to a fourth-generation database application language (and has been used in both).
Hungarian is not sufficient in itself to indicate whether this is an array of characters or an array of pointers; since strings are usually variable length, it is probably a safe bet that this is an array of pointers to the actual characters.
Hungarian resolves this problem by the use of detailed rules; since all names are created using the same rules, they are consistent in usage.
www.byteshift.de /msg/hungarian-notation-doug-klunder   (6857 words)

  
 [No title]   (Site not responding. Last check: 2007-10-08)
The new Hungarian tag names that are coined for new data types are chosen to be 2 to 4 alphanumeric characters in length.
Using these Hungarians a developer would be highly suspicious that a calculation were incorrect if he encountered an expression that added an xp to a yp, or even one that added xp's or yp's together.
Hungarian notation defines a set of standard composable prefixes that can be added to Hungarian type tags to describe the meanings of pointers and arrays defined within a project.
www.songtrellis.com /testSite/docstore/DescriptionofHungarianNotationanditsbenefits.doc   (2128 words)

  
 Hungarian notation at opensource encyclopedia   (Site not responding. Last check: 2007-10-08)
Hungarian notation aims to remedy this by providing the programmer with explicit indications of the variable's type.
Hungarian notation is sometimes extended in C++ to include the scope of a variable, separated by an underscore:
Hungarian notation was invented by Charles Simonyi, a programmer working at Microsoft, and earlier at Xerox.
www.wiki.tatet.com /Hungarian_notation.html   (393 words)

  
 CS 245: Hungarian Notation Quick Reference
Hungarian is a naming convention for identifiers in code, especially, but not exclusively, the C++ and Java languages.
At first glance, identifiers using Hungarian Notation appear to be gibberish until the pattern is deduced.
Friends of Simonya compared Simonya's notation convention to some obscure foreign language and since Simonya is Hungarian, that was the obscure foreign language refered to.
www.cse.iitk.ac.in /users/dsrkg/cs245/html/Guide.htm   (881 words)

  
 Hungarian - Wikipedia, the free encyclopedia
Hungarians or Magyars are an ethnic group primarily associated with Hungary.
The Magyar or Hungarian people, an ethnic group.
Hungarian notation, a method of naming program variables.
en.wikipedia.org /wiki/Hungarian   (130 words)

  
 Apostate CafĂ©: Hungarian Notation
Hungarian notation is as valuable in Visual Basic as it is in C. Although the Visual Basic type suffixes do indicate a variable's data type, they do not explain what a variable or function is used for, or how it can be accessed.
Hungarian notation is also widely used by Windows C programmers and constantly referenced in Microsoft product documentation and in industry programming books.
Hungarian Notation is a naming convention that (in theory) allows the programmer to determine, the type and use of an identifier (variable, function, constant, etc.) It is frequently used in Windows programming, so a quick guide (such as this one) may be useful if you're working with Windows code but don't know the naming scheme.
www.apostate.com /programming/hugarian.html   (9643 words)

  
 Hungarian Notation   (Site not responding. Last check: 2007-10-08)
This discussion of Hungarian differs from other Hungarian notation outlines in that the types have been assigned with both Visual Basic and C/C++ in mind.
Hungarian notation can be used to reduce variable ambiguity and increase code clarity.
Although consistency is the key for Hungarian notation, deviations from the standard base types must be consistent throughout.
www.crossmier.com /ProfessionalArea/hung.htm   (664 words)

  
 The Old Joel on Software Forum - Hungarian Notation
I still use hungarian -- in C code it's essential, in C++ code it's helpful, we even have a standardized hungarian notation for SQL here at Fog Creek and it's extremely helpful.
In OO, a notation which identifies the scope of a variable helps clear up what a piece of code is doing, instead of having to navigate back and forth through the source to look at where it was declared.
Hungarian notation throws off people a bit if they are learning C at the same time.
discuss.fogcreek.com /joelonsoftware?cmd=show&ixPost=35396&ixReplies=28   (3415 words)

  
 Where Has All the Notation Gone?   (Site not responding. Last check: 2007-10-08)
Hungarian notation is a practice of using prefix characters to provide information about a variable's scope and type.
Using Hungarian notation is no panacea for these issues, but it does force you to think about what you are doing, and by its very nature it imparts valuable contextual information.
For example, I wouldn't recommend using Hungarian notation to name the columns of a table or the properties of a class.
www.computorcompanion.com /LPMArticle.asp?ID=195   (1309 words)

  
 Fabulous Adventures In Coding : What's Up With Hungarian Notation?
Hungarian is a concise notation for semantics like "count", "index", "upper bound", and other common programming concepts.
Hungarian notation is only useful if you name your variables things like "blah" and "foo".
Hungarian notation has helped me catch dangerous bugs before software deployment (for example, erasing on-chip flash memory 65535 times instead of just once when mixing longs and ints...given that flash devices can do somewhere around 10k- 100k write cycles before they die, you can see the value in catching this type of bug quickly!).
blogs.msdn.com /ericlippert/archive/2003/09/12/52989.aspx   (2138 words)

  
 Programmers on Fire: Hungarian Notation considered harmful
The one part that I took issue with was where he talked about Hungarian notation.
To sum up: Hungarian Notation makes code easier to read and understand for other developers, removes reliance on other development environments, and up to this point, every argument I've heard of for getting rid of it has been insubstantial and petty.
The main argument against the use of hungarian notation, IMHO, is that it is often impossible to use it everywhere.
chrisbrandsma.com /2004/09/hungarian-notation-considered-harmful.html   (977 words)

  
 Hungarian peanut butter
Hungarian notation is a technique used to make the data type of a variable clear, just from the name of the variable.
Hungarian notation is called such because its originator, Microsoft's Charles Simonyi, is from Hungary.
Using SCIPI notation, you no longer have to refer to the declaration of a variable to see if the variable you want to read from or assign to is a string, an integer, or something else entirely.
community.borland.com /article/0,1410,27983,00.html   (1955 words)

  
 Lowter - Hungarian Notation in C++
Hungarian Notation is a naming convention that allows the programmer to determine the type and use of a variable by an identifier.
Hungarian Notation is a very easy concept to grasp; it only requires a little memorization before you can get it down pat.
Hungarian Notation is easier than it seems and provides an easy to grasp concept that improves your programming.
www.lowter.com /articles/174   (682 words)

  
 hungarian notation, anyone use it? - GameDev.Net Discussion Forums
Hungarian notation was getting pretty popular for a while, until a few outspoken software developers revealed its flaws.
Unfortunately, Charles Simonyi was Hungarian, so he used the word "type" where he clearly meant "usage," and even though the text of his paper made his meaning clear, it was still misunderstood by the legions who created what is known as Systems Hungarian or Anti-Hungarian Notation.
The great problem of Hungarian Notation is that most people are familiar with A-NH or Systems Hungarian thanks to the books of Charles Petzold, but not aware that that is a complete misapplication of the system.
www.gamedev.net /community/forums/topic.asp?topic_id=331663&whichpage=1�   (2357 words)

  
 Hungarian Notation? - GameDev.Net Discussion Forums
Hungarian notation is only useful, IMHO, when the type and the meaning are not fundamentally linked.
Posted - 10/30/2002 12:21:57 PM Hungarian notation - when you see it you think it's a good idea but the effort required to maintain it is terrible.
Hungarian notation has nothing to do with scope of variables - it is purely to do with type.
www.gamedev.net /community/forums/topic.asp?topic_id=121599&whichpage=2򢈕   (3458 words)

  
 Rory Blyth - Neopoleon.com   (Site not responding. Last check: 2007-10-08)
Hungarian is perfectly all right if that's what your company requires, or if that's the sort of sick thing you like to do with the blinds drawn late at night.
I for one am for Hungarian notation, at least its current form (by that I mean I think the original Hungarian notation used the prefix "sz" for strings, but now a lot of people use "str").
Plus, it keeps the notation short enough that I can simply as part of my standard heading comment block, so any coder who has the sense to read it will know my conventions, rather than the _true_ hungarian notation which requires a lengthy document.
neopoleon.com /blog/posts/6630.aspx   (5169 words)

  
 Hungarian Notation with Java @ JAVA DEVELOPER'S JOURNAL   (Site not responding. Last check: 2007-10-08)
As a side benefit, Hungarian Notation allows the original programmer to recognize that an explicit cast is required in an assignment statement while the code is being written.
This is the writability aspect of using Hungarian Notation, in which errors are detected and removed as the code is written.
Hungarian Notation also allows variable names to be reused when only the notation part of the name is different.
jdj.sys-con.com /read/36533.htm   (2790 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.