Topic: Coding standards (was STOP! You MUST use 'p' and 'r'!)
Author: russells@ccu1.aukuni.ac.nz (Russell Street)
Date: Tue, 4 Jan 1994 00:13:38 GMT Raw View
stan@mayo.edu (Andrew Staniszewski) writes:
>Oh I have to agree with Eric, the p and r proposal is useless.
Hungarian notation (again)... IMHO useless.. I would much rather have
rules that forced you to give sensible, meaningful names to your
variables with out prefixes or postfixes. Keep functions and classes
short that you can remember the types when examining and if you can't
easily find them if you can't remember them.
>BTW: has anyone got an SPP doc for C++ they would be willing to share??
This would be a good start...
The ``Programming in C++: Rules and Recommendations'' document can be
ftp'd from
ftp.th-darmstadt.de (130.83.55.75)
in
/pub/programming/languages/C++/documentation/rules.ps.Z
or
rules.ascii.Z
You might not agree with everything they say, but it does have a lot
of sound advice. While on the subject of sound advice...
> Effective C++, Scott Meyers, Addison-Wesley 1992 0-201-56364-9
> Fifty gems of wisdom that every C++ programmer needs to know
> and follow. Covers probably 90% of the questions that are
> asked on comp.lang.c++. It will save you many weeks of of
> learning common mistakes,
I have references to a few others if anyone is interested...
We seem to have got off the topic... follow-ups directed to comp.lang.c++.
Cheers
Russell
-------------------------------------------------------------
Russell Street (r.street@auckland.ac.nz)
"Tomorrow, tomorrow, tomorrow -- well that takes care
of the next three days" -- Groucho Marx