Re: How to name variables in a program?
- From: Arafangion <Arafangion@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 29 May 2005 15:13:30 +1000
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? .
- Follow-Ups:
- Re: How to name variables in a program?
- From: Rob Morris
- Re: How to name variables in a program?
- From: websnarf
- Re: How to name variables in a program?
- References:
- How to name variables in a program?
- From: SerGioGio
- Re: How to name variables in a program?
- From: Martijn
- Re: How to name variables in a program?
- From: Phlip
- Re: How to name variables in a program?
- From: spinoza1111
- How to name variables in a program?
- Prev by Date: Re: Advice for mid-life career change (to programming)
- Next by Date: Re: How to name variables in a program?
- Previous by thread: Re: How to name variables in a program?
- Next by thread: Re: How to name variables in a program?
- Index(es):
Relevant Pages
|