{ |one, step, back| } 1 of 1 article WikiSyndicate: full/short

Coding Standards -- Keep It Simple   14 Dec 05
[ print link all ]

The last several clients I have worked for loved to publish huge coding standards documents. A recent one was only 20 pages long (and that was one of the shorter ones).

While browsing the new Rails 1.0 web site1, I stumbled upon the Rails coding standard. Here it is in full (link):

  • Two spaces, no tabs
  • MyClass.my_method(my_arg)—not my_method( my_arg ) or my_method my_arg
  • Follow the conventions you see used in the source already

1 You did know that Rails 1.0 was released today, right?

 

Formatted: 17-May-08 17:04
Feedback: jim@weirichhouse.org