Article View: comp.lang.eiffel
Article #1136Re: Hungarian notation
From: Michael Feathers
Date: Mon, 08 Jan 1996 18:01
Date: Mon, 08 Jan 1996 18:01
19 lines
1572 bytes
1572 bytes
Todd Knarr (tknarr@xmission.com) wrote: : In <1996Jan7.045815.8676@ohstpy>, vancleef@ohstpy.mps.ohio-state.edu writes: : : >How often do you use NON-ZERO terminated strings??? HN is : >useless garbage in C++, or for ANSI C compilers. Not so. I use HN in C++ all the time. It is excellent in the presence of polymorphism. : That's the big downside to HN: it simply cannot be sensibly extended to : deal with an arbitrarily large number of types, and it goes completely : insane dealing with polymorphism. I doubt anyone could come up with a : reasonable HN prefix to accomodate a variable that can be one of 9 : different types at any given time. I've never seen a variable that can be any of 9 different types in C++. All variables have a type. Period. A type can be a union or a base class, but all variables have one and only one type in C++. If you don't believe me, check the ARM.
Technical Details
Message-ID:
<4crm6i$24mi@navajo.gate.net>Path:
arc1-ca.pugleaf.net!gate.net!not-for-mailReferences:
<30C40F77.53B5@swsbbs.com> <30EF0415.6FE1@tus.ssi1.com> <1996Jan7.045815.8676@ohstpy> <4cpb00$nqk@news.xmission.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!gate.net!not-for-mail From: feathers@gate.net (Michael Feathers) Newsgroups: comp.lang.eiffel,comp.lang.ada,comp.edu,comp.lang.c,comp.lang.c++,comp.lang.modula2,comp.lang.modula3 Subject: Re: Hungarian notation Followup-To: comp.lang.eiffel,comp.lang.ada,comp.edu,comp.lang.c,comp.lang.c++,comp.lang.modula2,comp.lang.modula3 Date: 8 Jan 1996 13:01:54 -0500 Organization: CyberGate, Inc. Message-ID: <4crm6i$24mi@navajo.gate.net> References: <30C40F77.53B5@swsbbs.com> <30EF0415.6FE1@tus.ssi1.com> <1996Jan7.045815.8676@ohstpy> <4cpb00$nqk@news.xmission.com> NNTP-Posting-Host: navajo.gate.net X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]