Its_Me
(Its Me)
1
What are some good references for Ruby best practices? I have pickaxe, am
looking for concise summaries.
I'm interested in stuff like
- avoid class variables
- naming xyz? methods
- idioms for block usage
- class and method naming
- module idioms
Thanks.
What are some good references for Ruby best practices? I have pickaxe, am
looking for concise summaries.
Best practice: use Ruby.
I'm interested in stuff like
- avoid class variables
Yes.
- naming xyz? methods
Meaningful names would be better.
- idioms for block usage
Use blocks.
- class and method naming
Capitalize, do not capitalize respectively.
- module idioms
Mix it up with modules.
Here are two more serious attempts:
http://www.caliban.org/ruby/rubyguide.shtml
Thanks.
E
No-one expects the Solaris POSIX implementation!
···
Le 7/4/2005, "itsme213" <itsme213@hotmail.com> a écrit: