Re: Calendar Issue
- From: Martin Gregorie <martin@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Nov 2008 12:44:44 +0000 (UTC)
On Thu, 13 Nov 2008 10:04:55 +0000, RedGrittyBrick wrote:
Lew wrote:At a guess Lew is talking about naming conventions, of which the so-
It is also bad practice to include the type of a variable in its name.
called Hungarian Notation beloved by Microsoft C programmers is the most
obnoxious, e.g
unsigned int *puiAccountTotal;
the points being that:
- it makes the variable name less readable
- if you change the variable's data type you must also change its
name, thus forcing a search&destroy mission across the entire
program.
In my example changing the variable to a signed long requires it to be
renamed to lAccountTotal.
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
.
- Follow-Ups:
- Re: Calendar Issue
- From: Peter Duniho
- Re: Calendar Issue
- From: Lew
- Re: Calendar Issue
- References:
- Calendar Issue
- From: jagadesh
- Re: Calendar Issue
- From: Arne Vajhøj
- Re: Calendar Issue
- From: jagadesh
- Re: Calendar Issue
- From: Lew
- Re: Calendar Issue
- From: jagadesh
- Re: Calendar Issue
- From: Lew
- Re: Calendar Issue
- From: jagadesh
- Re: Calendar Issue
- From: Lew
- Re: Calendar Issue
- From: jagadesh
- Re: Calendar Issue
- From: Lew
- Re: Calendar Issue
- From: RedGrittyBrick
- Calendar Issue
- Prev by Date: Re: 7.0 wishlist?
- Next by Date: Re: Field.getAnnotation is dead slow
- Previous by thread: Re: Calendar Issue
- Next by thread: Re: Calendar Issue
- Index(es):
Relevant Pages
|