Subject: Re: policy -- taking the code guidelines seriously
From: Håkan Waara (hwaara@chello.se)
Date: Tue Aug 21 2001 - 16:27:52 CDT
Michael D. Crawford wrote:
>>I've tried to mostly conform to these guidelines when writing my wordperfect
>>importer. However, I really strongly take exception to using Hungarian
>>notation in my code. Is this really a necessary part of the guidelines?
>>
> 
> (Speaking as a lurker who's yet to make an actual contribution to Abi...)
> 
> I found Hungarian useful on a C project I did years ago, but in the C++ code I
> do now, I just don't see the point of Hungarian.  I think a much better style is
> that used in Metrowerks powerplant, where you use "in" and "out" for parameters:
> 
> void Foo( int inParam, int *outResult );
> 
> and using "m" (for member) or "f" (for field) for member variables.
 
and g for globals, p for pointers, h for handles. ;)
-- Håkan Waara (hwaara@chello.se)
This archive was generated by hypermail 2b25 : Tue Aug 21 2001 - 16:26:41 CDT