Where to find Ruby code idiom, is there a style guideline

As ruby popularity growing, more and more newbie programmer need a way
to improve their ruby ability effectively. Reading examplar code should
be a good way to achieve that goal. Are there somebody collecting and
cleansing ruby code idioms ? Or somebody is writing a book like
effective C++ or effective Java?

I have programmed with Ruby for half a year , and I have read Pickaxe,
Agile web development with Rails , Ruby developer’s guide, the Ruby way
etc. But there isn’t a book can fill the gap.

I am eagerly looking forward to such a book full of Ruby code idioms
which can also acts as a style guideline.

I really think we need a “effective Ruby “ now.

Best Regards.

uncutstone

···

--
Posted via http://www.ruby-forum.com/.

I support that.

···

On 6/30/06, uncutstone wu <uncutstone@sina.com> wrote:

As ruby popularity growing, more and more newbie programmer need a way
to improve their ruby ability effectively. Reading examplar code should
be a good way to achieve that goal. Are there somebody collecting and
cleansing ruby code idioms ? Or somebody is writing a book like
effective C++ or effective Java?

I have programmed with Ruby for half a year , and I have read Pickaxe,
Agile web development with Rails , Ruby developer's guide, the Ruby way
etc. But there isn't a book can fill the gap.

I am eagerly looking forward to such a book full of Ruby code idioms
which can also acts as a style guideline.

I really think we need a "effective Ruby " now.

Best Regards.

uncutstone

--
Posted via http://www.ruby-forum.com/\.

--
Satish Talim

+1

I've found one of the most time-consuming things about learning a new
language is getting up to speed with idiomatic usage: things like var ||=
"default value" and the like.

It'd be great to have annotated examples of such idioms.

;D

···

On 6/30/06, uncutstone wu <uncutstone@sina.com> wrote:

As ruby popularity growing, more and more newbie programmer need a way
to improve their ruby ability effectively. Reading examplar code should
be a good way to achieve that goal. Are there somebody collecting and
cleansing ruby code idioms ?

--
Daniel Baird
http://tiddlyspot.com (free, effortless TiddlyWiki hosting)
http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog :: Things
That Suck)

For me The Ruby Way represented this idion introduction. And afaik a
2nd version is in preparings.

./alex

···

--
.w( the_mindstorm )p.
---
(http://themindstorms.blogspot.com)

On 6/30/06, uncutstone wu <uncutstone@sina.com> wrote:

As ruby popularity growing, more and more newbie programmer need a way
to improve their ruby ability effectively. Reading examplar code should
be a good way to achieve that goal. Are there somebody collecting and
cleansing ruby code idioms ? Or somebody is writing a book like
effective C++ or effective Java?

I have programmed with Ruby for half a year , and I have read Pickaxe,
Agile web development with Rails , Ruby developer's guide, the Ruby way
etc. But there isn't a book can fill the gap.

I am eagerly looking forward to such a book full of Ruby code idioms
which can also acts as a style guideline.

I really think we need a "effective Ruby " now.

Best Regards.

uncutstone

--
Posted via http://www.ruby-forum.com/\.

wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz && tar xvfz ruby-1.8.4.tar.gz && find ruby-1.8.4/lib/

it's the best way.

regards.

-a

···

On Fri, 30 Jun 2006, uncutstone wu wrote:

As ruby popularity growing, more and more newbie programmer need a way
to improve their ruby ability effectively. Reading examplar code should
be a good way to achieve that goal. Are there somebody collecting and
cleansing ruby code idioms ? Or somebody is writing a book like
effective C++ or effective Java?

I have programmed with Ruby for half a year , and I have read Pickaxe,
Agile web development with Rails , Ruby developer’s guide, the Ruby way
etc. But there isn’t a book can fill the gap.

I am eagerly looking forward to such a book full of Ruby code idioms
which can also acts as a style guideline.

I really think we need a “effective Ruby “ now.

--
suffering increases your inner strength. also, the wishing for suffering
makes the suffering disappear.
- h.h. the 14th dali lama

uncutstone wu wrote:

As ruby popularity growing, more and more newbie programmer need a way
to improve their ruby ability effectively. Reading examplar code should
be a good way to achieve that goal.

>
Daniel Baird wrote:
> I've found one of the most time-consuming things about
> learning a new language is getting up to speed with
> idiomatic usage....It'd be great to have annotated
> examples of such idioms.
>
+1

I'm pretty much at that stage myself. I've started collecting a few templates at

I recently sussed out how to use modules (posted on it
yesterday). I plan to add to that to the site.

Right now, I'm in the market for a good example of an
RDOC-ready page that I can reduce to a template....

Alex Young wrote:
> The Quiz is great for this. (http://www.rubyquiz.com/
>
+1

Wow. Hecka good. Each one is an annotated tutorial.
It's a veritable treasure trove of cool idioms!

Definitely work your way through the code in the Ruby
Quiz<http://www.rubyquiz.com/&gt;and read code whenever possible,
Googling whatever looks unusual. Something
else, if possible, is to run short snippets of code by more experienced
Ruby-ites when you're unsure of it's quality.

James H

···

On 6/30/06, uncutstone wu <uncutstone@sina.com> wrote:

As ruby popularity growing, more and more newbie programmer need a way
to improve their ruby ability effectively. Reading examplar code should
be a good way to achieve that goal. Are there somebody collecting and
cleansing ruby code idioms ? Or somebody is writing a book like
effective C++ or effective Java?

I have programmed with Ruby for half a year , and I have read Pickaxe,
Agile web development with Rails , Ruby developer's guide, the Ruby way
etc. But there isn't a book can fill the gap.

I am eagerly looking forward to such a book full of Ruby code idioms
which can also acts as a style guideline.

I really think we need a "effective Ruby " now.

Best Regards.

uncutstone

--
Posted via http://www.ruby-forum.com/\.

Hello,

Forgive me for the shameless self-promotion, but if you are coming to Ruby from Rails, perhaps my little slide presentation

might also be helpful. I am in the process of turning this into a slightly expanded ebook of 30 pages for Addison-Wesley as well, available this month. Okay, enough of the self-promotion.

David Black has also written a book on Ruby for Rails that is worth checking out.

Jake

···

On Jun 30, 2006, at 12:46 AM, uncutstone wu wrote:

As ruby popularity growing, more and more newbie programmer need a way
to improve their ruby ability effectively. Reading examplar code should
be a good way to achieve that goal. Are there somebody collecting and
cleansing ruby code idioms ? Or somebody is writing a book like
effective C++ or effective Java?

I have programmed with Ruby for half a year , and I have read Pickaxe,
Agile web development with Rails , Ruby developer’s guide, the Ruby way
etc. But there isn’t a book can fill the gap.

I am eagerly looking forward to such a book full of Ruby code idioms
which can also acts as a style guideline.

I really think we need a “effective Ruby “ now.

Best Regards.

uncutstone

--
Posted via http://www.ruby-forum.com/\.

>
>
> As ruby popularity growing, more and more newbie programmer need a way
> to improve their ruby ability effectively. Reading examplar code should
> be a good way to achieve that goal. Are there somebody collecting and
> cleansing ruby code idioms ?

+1

I've found one of the most time-consuming things about learning a new
language is getting up to speed with idiomatic usage: things like var ||=
"default value" and the like.

It'd be great to have annotated examples of such idioms.

Hmmm... Something like http://wiki.rubygarden.org/Ruby/page/show/RubyIdioms
? :wink:

V.

···

From: Daniel Baird [mailto:danielbaird@gmail.com]
Sent: Friday, June 30, 2006 8:08 AM

On 6/30/06, uncutstone wu <uncutstone@sina.com> wrote:

Daniel Baird wrote:

···

On 6/30/06, uncutstone wu <uncutstone@sina.com> wrote:

As ruby popularity growing, more and more newbie programmer need a way
to improve their ruby ability effectively. Reading examplar code should
be a good way to achieve that goal. Are there somebody collecting and
cleansing ruby code idioms ?

+1

I've found one of the most time-consuming things about learning a new
language is getting up to speed with idiomatic usage: things like var ||=
"default value" and the like.

It'd be great to have annotated examples of such idioms.

The Quiz is great for this.

(http://www.rubyquiz.com/ if you didn't know...)

--
Alex

Alexandru Popescu wrote:

For me The Ruby Way represented this idion introduction. And afaik a
2nd version is in preparings.

and Ruby Cookbook

Ooh. Very interesting, Jacob. I shall be keeping my eyes on this with
vested interest!

James H

Victor 'Zverok' Shepelev wrote:

Hmmm... Something like
http://wiki.rubygarden.org/Ruby/page/show/RubyIdioms

Yes, that's the kind of thing. It is useful but it's too few and
imcomplete.
Is there somebody can collect more and make it more complete and
systematic?

Thanks.

uncutstone

···

--
Posted via http://www.ruby-forum.com/\.

uncutstone wu wrote:

Victor 'Zverok' Shepelev wrote:

Hmmm... Something like http://wiki.rubygarden.org/Ruby/page/show/RubyIdioms

Yes, that's the kind of thing. It is useful but it's too few and imcomplete.
Is there somebody can collect more and make it more complete and systematic?

It's a wiki page, so feel free to edit it.

···

--
James Britt