🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.eiffel
Article #1138

Re: Hungarian notation

#1138
From: Joachim Durchholz
Date: Mon, 08 Jan 1996 18:06
40 lines
2045 bytes
Mike.Palmer@tus.ssi1.com wrote 06.01.96 on Re: Hungarian notation:

> Joachim Durchholz wrote:
> >
> > > Consider also that variable names may be misleading anyway. In that
> > > sense there's no great difference between
> > >
> > >         someProc(MyString)
> > >
> > > and
> > >
> > >         someProc(pszMyString)
> > >
> > > either could quite happily refer to any other data type.
> > >
> >
> > This example does not occur in real life. Or rather, it better should not!
> > Anybody using meaningless names like "MyString" should be thrown out of
> > the programming business. Depending on the actual semantics of "someProc",
> > the parameter should be called "Message" or "Options" or "ParserInput" or
> > whatever.
> >
> > -Joachim
>
> One hopes you just missed the point here. Hungarian notation does not
> attempt to help you keep track of _what_ your variable is, it gives you a
> framework to keep track of what _kind_ of variable it is. One would also
> note that someProc is not a very descriptive name, but so what? In the first
> example, I have _no_ clue what type of variable MyString is, although I
> could probably deduce that it is a string. In the second example, the  
prefix
That's exactly what I meant. Sorry that I didn't make my point clear.
> tells me that it is a Pointer to a Zero terminated String.


-Joachim

--
Im speaking for myself here.
## CrossPoint v3.02 ##
Technical Details
Message-ID: <60SqRIQF3RB@herold.franken.de>
Path: arc1-ca.pugleaf.net!herold.franken.de!jhd
References: <30C40F77.53B5@swsbbs.com> <4cd8fc$oud@news.manawatu.gen.nz> <HtlknJAZAQ7wEwjl@wndrwrks.demon.co.uk> <60KgWmb-3RB@herold.franken.de> <30EF0415.6FE1@tus.ssi1.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!herold.franken.de!jhd
Date: 08 Jan 1996 19:06:00 +0100
From: jhd@herold.franken.de (Joachim Durchholz)
Newsgroups: comp.lang.eiffel,comp.edu,comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.modula2,comp.lang.modula3
Message-ID: <60SqRIQF3RB@herold.franken.de>
References: <30C40F77.53B5@swsbbs.com> <4cd8fc$oud@news.manawatu.gen.nz>
 <HtlknJAZAQ7wEwjl@wndrwrks.demon.co.uk> <60KgWmb-3RB@herold.franken.de>
 <30EF0415.6FE1@tus.ssi1.com>
Subject: Re: Hungarian notation
X-Newsreader: XP v3.02
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit