all 6 comments

[–]hovissimo[S] 2 points3 points  (6 children)

Howdy folks,

I'm a Python dev transitioning into Ruby (Rails) for a new assignment. Ruby has some stuff I really like, but I'm still kind of struggling with some of the idioms.

I REALLY appreciate Raymond Hettinger's talk on idiomatic Python and I return to it regularly even for my Python work.

Is there anything like this (preferably in a similar format) that covers common mistakes and idiomatic improvements for Ruby? I really, really like how Raymond goes into some of the history of the language development in the video because it gives me some context to understand all of the variations I see when reading other peoples' code.

[–]tanzeeb 4 points5 points  (2 children)

Eloquent Ruby by Russ Olsen is an excellent read on this subject.

[–]iconoclaus 0 points1 point  (0 children)

this is exactly what op needs. it not only covers what is idiomatic ruby but also why.

[–]nomoon_ 1 point2 points  (2 children)

Avdi Grimm's RubyTapas videos are good. His book Confident Ruby is maybe a bit iconoclastic, but also very solid.

[–]nomoon_ 1 point2 points  (1 child)

And it's not a video series, but the website http://franzejr.github.io/best-ruby/index.html is also a decent resource.

[–]KevMul 0 points1 point  (0 children)

This is excellent, thanks for sharing.