Re: Calendar Issue

On Thu, 13 Nov 2008 10:04:55 +0000, RedGrittyBrick wrote:

Lew wrote:
It is also bad practice to include the type of a variable in its name.

At a guess Lew is talking about naming conventions, of which the so-
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

In my example changing the variable to a signed long requires it to be
renamed to lAccountTotal.

martin@ | Martin Gregorie
gregorie. | Essex, UK
org |

Relevant Pages

  • Re: Self-compiling .java file
    ... programmers. ... It's been done for other languages but I ... a .java file that compiles itself, ... martin@ | Martin Gregorie ...
  • Re: Teaching kids to program (in Java)
    ... that beginning programmers need to do. ... martin@ | Martin Gregorie ... | Essex, UK ...
  • Re: Purely historic question: VT200 text graphic programming
    ... In fact, many, many Unix programmers knew about curses (and still ... do) and very few VMS programmers ever did. ... IIRC all the Wyse terminals had that. ... martin@ | Martin Gregorie ...
  • Re: Teaching kids to program (in Java)
    ... On 5/6/2012 8:06 AM, Martin Gregorie wrote: ... that beginning programmers need to do. ... but has always struck me as ... needlessly quirky. ...
  • Re: OT: Why is C so popular?
    ... C programmers hate Pascal. ... Computers became ever cheaper and more widespread; ... in the jobs market to have certificates of Microsoft indoctrination. ... for creativity can never be entirely suppressed - were in an ideal ...