home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!wupost!darwin.sura.net!aplcen.apl.jhu.edu!jarober
- From: jarober@aplcen.apl.jhu.edu (DE Robertson james an 410-740-9172)
- Subject: Re: Hungarian notation
- Message-ID: <1992Jul20.224424.20551@aplcen.apl.jhu.edu>
- Organization: Johns Hopkins University
- References: <1992Jul20.084316.15691@druid.uucp> <1992Jul20.220701.1095@trl.oz.au>
- Date: Mon, 20 Jul 92 22:44:24 GMT
- Lines: 22
-
- aduncan@rhea.trl.OZ.AU (Allan Duncan) writes:
-
-
- >This reliance on a compiler is no better than a journalist relying on a
- >spelling and grammar checker. It is getting very common now to see
- >correctly spelled words of the correct part of speech that are clearly
- >not the word that was intended. Context gives you a clue as to what the
- >correct word should have been, but in programming there is less context
- >to work with. Maybe the Hungarian Notation is intended to add context.
-
- You Have to rely on the compiler to some extent - otherwise, you
- don't get code. If you have an ANSI compliant C compiler, and your
- prototype and your declaration disagree, you WILL get an error. Naming
- conventions are a good thing. But blind trust in them is foollish.
- Hungarian is no better (or worse) than many other conventions. What I
- find amusing is the religious intensity that seems to be attached to it -
-
- "Use Hungarian - never make a mistake again !!"
-
- Please.
-
- jarober@aplcen.apl.jhu.edu
-