• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is "Ruby Best Practices" like design patterns in Java?

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'd like to know if "Ruby Best Practices" is like the design patterns we have for JEE.
Does it show the patterns and their sample code?

Thank you.
 
author
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rogerio,

Actually, RBP is not a patterns book at all. It takes a more "on the ground" approach to improving your Ruby skills by walking through real problems. The general idea was to identify some areas that folks struggle with in Ruby and show how experienced Rubyists might attack problems in that area. So it reads more like a series of code reviews than an abstracted set of generalized patterns. In my experience, this is a more practical way to approach Ruby as many patterns from Java can be a bit overkill when ported to Ruby. That having been said, many of them do carry over, and for that, I'd like to recommend Russ Olsen's "Design Patterns in Ruby". I've just started reading that book, but I've heard great things about it.

Have a look at the book's sample chapter to get a feel for the format, and feel free to get back to me if you have any more questions

-greg
 
grapes are vegan food pellets. Eat this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic