Hi, I 'm rather new to Ruby, but most of what it mentions seems similar to what I've seen so far.
The only thing I question is that it says always to include the parentheses around parameter lists. I tend to do the very opposite, only including parentheses when absolutely necessary. I think Phlip said something similar? Unless I totally misunderstood. So I guess that's my question to everyone else: do you include parenthesis around arguments or not? Brandon > -----Original Message----- > From: [email protected] [mailto:rubyonrails- > [email protected]] On Behalf Of John Fletcher > Sent: Friday, March 13, 2009 7:10 AM > To: [email protected] > Subject: [Rails] Coding standards > > One thing I really like about Java compared to PHP is that there's an > official coding standard. This is because I don't really mind which > standard I use, I just want to be told what to do and have the highest > likelihood that other code I encounter in that language will use a > standard that I'm used to. > > > > Bearing that in mind... I'm starting to learn Ruby and noticed there > doesn't appear to be an official coding standard, nor for Rails. This > document basically claims to be a de facto standard, is that true > http://www.caliban.org/ruby/rubyguide.shtml#style? If so I will follow > their conventions. Or is there a better resource? Is the community > fairly consistent in their coding style? I find the Java community is > fairly consistent, the PHP community rather the opposite. > > > > Regards, > > John > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

