Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

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

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
They worship nothing. They say it's because nothing lasts forever. Like this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic