PERFORCE change 123376 for review

Sam Leffler sam at errno.com
Fri Jul 13 14:32:00 UTC 2007


[picking a random reply]

Shteryana Shopova wrote:
> style(9) says:
> <quote>Many of the style rules are implicit in the examples.</quote> ;)
> 
> IMO it is a good idea to try to keep to the rules while coding. Also
> all code lines should (must ;)) contain 80 characters max.

Folks, before things get too out of hand, please remember there are only 
2 ironclad rules about style:

1. style(9) is a guideline and not a contract
2. existing style trumps any rules in style(9) (i.e. when modifying 
existing code)

The point being that one shouldn't get too hungup about the exact form 
of this person's code.  The convention+practice codified in style(9) 
represents the agreed upon common style to use but failing to follow 
some rules doesn't justify getting bent out of shape.  Given them 
advise, sure.  Point out the man page, absolutely.

If you program long enough you will find your personal coding style 
varies widely (often to suit the project environment).

	Sam


More information about the p4-projects mailing list