Coding Standards

Hello, rubyists.

I am attempting to get a fairly major Ruby project off the ground
here at work. Being the good software engineer (and project manager :wink:
I would like to have a formal coding standard in place.

Does anyone have such a beast for Ruby they are prepared to share?

TIA,

ยทยทยท

โ€“
-mark.


Mark Probert probertm@NOSPAM_nortelnetworks.com
Nortel Networks ph. (613) 768-1082

All opinions expressed are my own and do not
reflect in any way those of Nortel Networks.

Mark Probert wrote:

I am attempting to get a fairly major Ruby project off the ground
here at work. Being the good software engineer (and project manager :wink:
I would like to have a formal coding standard in place.

Hereโ€™s a good place to start:

ยทยทยท

โ€“
Jason Voegele
โ€œThere is an essential core at the center of each man and woman that
remains unaltered no matter how lifeโ€™s externals may be transformed
or recombined. But itโ€™s smaller than we think.โ€
โ€“ Gene Wolfe, The Book of the Long Sun

Two pieces of advice โ€ฆ

(1) Keep it short. No more than page or two.
(2) Get buy-in from the team. Have them help decide what gets put in
the rules.

Good luck with your project!

ยทยทยท

On Fri, 2003-03-28 at 16:00, Mark Probert wrote:

Hello, rubyists.

I am attempting to get a fairly major Ruby project off the ground
here at work. Being the good software engineer (and project manager :wink:
I would like to have a formal coding standard in place.

Does anyone have such a beast for Ruby they are prepared to share?

โ€“
โ€“ Jim Weirich jweirich@one.net http://w3.one.net/~jweirich

โ€œBeware of bugs in the above code; I have only proved it correct,
not tried it.โ€ โ€“ Donald Knuth (in a memo to Peter van Emde Boas)