Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Hungarian notation
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==History== The original Hungarian notation was invented by [[Charles Simonyi]], a programmer who worked at [[Xerox PARC]] circa 1972–1981, and who later became Chief Architect at [[Microsoft]]. The name of the notation is a reference to Simonyi's nation of origin, and also, according to [[Andy Hertzfeld]], because it made programs "look like they were written in some inscrutable foreign language".<ref name=Rosenberg>{{cite news |last1=Rosenberg |first1=Scott |title=Anything You Can Do, I Can Do Meta |url=https://www.technologyreview.com/2007/01/01/227178/anything-you-can-do-i-can-do-meta/ |access-date=21 July 2022 |work=MIT Technology Review |date=1 January 2007 |language=en}}</ref> [[Hungarian name|Hungarian people's names]] are "reversed" compared to most other European names; [[Name order|the family name precedes the given name]]. For example, the anglicized name "Charles Simonyi" in [[Hungarian language|Hungarian]] was originally "Simonyi Károly". In the same way, the type name precedes the "given name" in Hungarian notation. The similar [[Smalltalk]] "type last" naming style (e.g. aPoint and lastPoint) was common at Xerox PARC during Simonyi's tenure there.{{cn|date=July 2022}} Simonyi's paper on the notation referred to prefixes used to indicate the "type" of information being stored.<ref name="simonyi"/><ref name="Spolsky"/> His proposal was largely concerned with decorating identifier names based upon the semantic information of what they store (in other words, the variable's ''purpose''). Simonyi's notation came to be called Apps Hungarian, since the convention was used in the [[application software|applications]] division of Microsoft. Systems Hungarian developed later in the [[Microsoft Windows]] development team. Apps Hungarian is not entirely distinct from what became known as Systems Hungarian, as some of Simonyi's suggested prefixes contain little or no semantic information (see below for examples).<ref name="Spolsky"/>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)