From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,f292779560fb8442 X-Google-Attributes: gid109fba,public X-Google-Thread: fac41,af40e09e753872c X-Google-Attributes: gidfac41,public X-Google-Thread: 10db24,30e368bdb3310fe5 X-Google-Attributes: gid10db24,public X-Google-Thread: 1014db,30e368bdb3310fe5 X-Google-Attributes: gid1014db,public X-Google-Thread: f8c65,30e368bdb3310fe5 X-Google-Attributes: gidf8c65,public X-Google-Thread: 1008e3,30e368bdb3310fe5 X-Google-Attributes: gid1008e3,public X-Google-Thread: 103376,30e368bdb3310fe5 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Hungarian notation Date: 1996/05/23 Message-ID: #1/1 X-Deja-AN: 156372450 references: <4adem2$b5s@mercury.IntNet.net> <4n6off$6e2@mikasa.iol.it> <3198F30F.2A2@zurich.ibm.com> <4nsg3f$liu@solutions.solon.com> <31a3b322.442404233@sqarc> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel Date: 1996-05-23T00:00:00+00:00 List-Id: Hungarian notation is certainly a remarkable demonstration of how few people have learned and understood data abstraction. What's most interesting is how difficult it is for its advocates to see this point, but I suppose that is not surprising. If you never understood what abstraction is about, then of course adopting a notation that destroys it will not concern you. Even the examples that are produced continually reinforce the point that HN advocates miss the whole point of abstraction. For example, Steve Willer wrote: > myZ->Something = 3; > >First of all, I'll never remember that myZ is a pointer and Something is >an int. I can't rely on my memory and I certainly can't rely on some >other maintainer's ability to memorize my code. What ON EARTH is that "3" doing in the code? It is absolutely elementary that bogus untyped, unnamed constants of this type do not belong in properly written code, but I am sure that this point also escapes HN advocates. It is truly remarkable that people would work with a language like C, and decide that the one problem with the language was that it provides too much data abstraction (in the form of abstract variable names), and that even this much abstraction is anathema and must be system atically eliinated.