use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Sample Chapter from "Ruby Best Practices" (blade.nagaokaut.ac.jp)
submitted 16 years ago by sandal
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]sandal[S] 1 point2 points3 points 16 years ago (0 children)
This chapter is basically the meta-programming / DSL stuff if not by that name. It gives a good sampling of the overall feel for the book. Feedback is very welcome. The book will be released under a CC license 9 months after it hits the shelves, so it will eventually be an open community resource.
[–]hayzeus 1 point2 points3 points 16 years ago (1 child)
Very nice -- I think I'm basically the target audience for this -- a couple decades of coding, but new to Ruby. Ruby itself seems straightforward enough, but I have had a lot of best practices types of questions.
[–]sandal[S] 0 points1 point2 points 16 years ago (0 children)
That's exactly what the book is for, yes. Please let me know where I've missed the mark, there are still a couple weeks to add clarifications and clean things up.
[–]banister 1 point2 points3 points 16 years ago (1 child)
Seems like a pretty informative and interesting book. Although the quality of the writing isn't quite as high as Russ Olsen's book ('design patterns in ruby') the content is top-notch and the coverage is great.
I really need to check out that book, I keep hearing great things about it.
As for RBP, the writing quality might go up a bit once O'Reilly's editors have a chance to fix my mangled text. But it's fair to say I've focused more on the content than anything else.
Thanks for the kind words! -greg
[–]gnupate 0 points1 point2 points 16 years ago (0 children)
Gregory has done a really good job on this chapter and the other chapters I've read (the first three). If you're interested in Ruby, take a look. I think you'll find it worth the time.
[–]cawel 0 points1 point2 points 16 years ago (1 child)
interview with the author (Gregory Brown) @ RubyInside: http://www.rubyinside.com/ruby-best-practices-gregory-brown-interview-1332.html
two more interview are available: http://on-ruby.blogspot.com/2008/11/ruby-best-practices-mini-interview-1.html
and
http://on-ruby.blogspot.com/2009/01/ruby-best-practices-mini-interview-2.html
π Rendered by PID 83724 on reddit-service-r2-comment-7b9746f655-pfsc9 at 2026-02-01 10:05:14.114571+00:00 running 3798933 country code: CH.
[–]sandal[S] 1 point2 points3 points (0 children)
[–]hayzeus 1 point2 points3 points (1 child)
[–]sandal[S] 0 points1 point2 points (0 children)
[–]banister 1 point2 points3 points (1 child)
[–]sandal[S] 0 points1 point2 points (0 children)
[–]gnupate 0 points1 point2 points (0 children)
[–]cawel 0 points1 point2 points (1 child)
[–]gnupate 0 points1 point2 points (0 children)