> variable_name > method_name But why?! Since methods don't need (), how are we supposed to instinctively know what's a method and what isn't when reading someone elses code? (Or our own when we've forgotten what we wrote!)
Matt. PS. Anyone play spot the Ruby Newbie, score 10 points! On Jul 10, 12:03 am, Philip Hallstrom <[email protected]> wrote: > > Is there a document anywhere that indicates when to use camel casing and > > when to use underscores between words? > > Huh? Do you mean for things like variables, methods, classes, constants? Or > something else? > > In general... > > variable_name > method_name > ClassName > CONSTANTNAME > > -philip -- 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.

