Re: How to name variables in a program?



I came across a rumour (I _think_ I got it from www.joelonsoftware.com), but the rumour suggests that Hungarian notation originated from a missunderstanding of Apps hungarian, particularly on the word 'type'.
For instance, Apps Hungarian would never simply say iWidth, but would use something more like scrWidth, and scrHeight, with a convention that scr means "the screen", which helps you not mix it with, say, panelWidth and panelHeight.


	I'm going out on a limb here, could someone confirm or deny this?
.



Relevant Pages

  • Re: How to name variables in a program?
    ... but the rumour suggests that Hungarian notation originated from a missunderstanding of Apps hungarian, ... Then if you name all your functions prefixFromWhatever, it becomes clear if you've made an error, e.g. ...
    (comp.programming)
  • Re: How to name variables in a program?
    ... > but the rumour suggests that Hungarian notation originated from a ... > missunderstanding of Apps hungarian, ...
    (comp.programming)