Re: [Plib-devel] PLIB developers needed.
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-08-11 04:55:54
|
Paul Bleisch wrote: > > >From: Dave McClurg [mailto:Dav...@dy...] > >Subject: RE: [Plib-devel] PLIB developers needed. > > > > for private functions, use all_lower_case unless they would > > pollute the name space in which case you should use _xxMixedCase > > (note the leading underscore). if a variable pollutes the name > > space, use _xxMixedCase. > > Note that this technically goes against the portability aspect > of PLIB as identifiers in the global and std:: namespaces starting > with '_' and '__' are reserved for the implementation in ANSI C++. Yes - but the alternative isn't very pretty either. > I know it is used by alot of code and I do it too, but I thought > it should at least be known. I get killed by it everytime I > write a header file: > > #ifndef __Foo_h__ > #define __Foo_h__ > #endif Exactly. ...and in practice, it's very portable and saves a lot of other problems. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |