Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2001 03:33:57 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        jcm@FreeBSD-uk.eu.org (j mckitrick)
Cc:        freebsd-chat@FreeBSD.ORG
Subject:   Re: hungarian notation
Message-ID:  <200101190333.UAA27007@usr08.primenet.com>
In-Reply-To: <20010118161259.A69693@dogma.freebsd-uk.eu.org> from "j mckitrick" at Jan 18, 2001 04:12:59 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> What are everyone's thoughts on Hungarian notation?  Does it have a place in
> unix programming?
> 
> Just in case anyone hasn't heard of the term, it's used to make variable
> names descriptive of their type, e.g.
> 
> int iCounter;
> double dValue
> char szString;
> int* piPointer;

It makes it harder than hell to call "decorated" library
functions from monocase languages, like FORTRAN, COBOL, etc..

I think the _ONE_ valid thing to come out of ANSI prototypes
(other than making it the programmers job to do the work that
belongs in the linker; linker writers are lazy... but I digress)
is that you don't need this BS, since the compiler will whine at
you when you have type clashes anyway.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101190333.UAA27007>