Article View: comp.std.c
Article #4959Hungarian Notation (was Re: Prefixing functions with return type..
From: K2 Consult
Date: Wed, 27 Mar 1996 18:29
Date: Wed, 27 Mar 1996 18:29
22 lines
1384 bytes
1384 bytes
My 2.002 yen worth on Hungarian notation: It violates an old programming dictum: "Debug the code, not the comments!" Although they APPEAR to be part of the code, the compiler does not enforce the prefixes. Therefore, nothing is to prevent me from doing the following: long sShort; Sure, maybe it started life as a short, when suddenly (perhaps much later), I find I need a long. Normally I just change a few header files, perhaps, and that is that (I know, I know, it's not quite that simply in RL). My point is, looking at the variable name will lead one to expect a short, when one is receiving a long. This example may seem a bit contrived, but there are plenty that are not. Timothy Knox Parallel Staffing Group K2Consult@aol.com Cogito, ergo hack. DNRC Holder of Past Knowledge, and ... "Chief Torturer and Lord High Executioner To People Who Use Words Like Productize"
Technical Details
Message-ID:
<4jc1el$dal@newsbf02.news.aol.com>Path:
arc1-ca.pugleaf.net!newsbf02.news.aol.com!not-for-mailReferences:
<DoKtsD.5M7@polo.demon.co.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newsbf02.news.aol.com!not-for-mail From: k2consult@aol.com (K2 Consult) Newsgroups: comp.std.c Subject: Hungarian Notation (was Re: Prefixing functions with return type.. Date: 27 Mar 1996 13:29:41 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <4jc1el$dal@newsbf02.news.aol.com> References: <DoKtsD.5M7@polo.demon.co.uk> Reply-To: k2consult@aol.com (K2 Consult) NNTP-Posting-Host: newsbf02.mail.aol.com