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)