• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Himai Minh

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

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

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.
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

You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic