This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ruby and the fly likes Pros and Cons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Pros and Cons" Watch "Pros and Cons" New topic

Pros and Cons

Helana Neumann

Joined: Feb 07, 2008
Posts: 19
Hi, Chad and Tammer,

Wow, I looked this book up at, and it looks fabulous. Can the antipatterns described in your book also be used, in a general way, for structuring good code in other programming languages, as well, or just for Ruby? What are the pros and cons of using Ruby over other web programming languages?

Thank you.

Helana Neumann
Tammer Saleh

Joined: Mar 02, 2011
Posts: 11

Hi Helana, and thanks for the kind words

While the AntiPatterns are mostly Rails specific, there are a few that apply to web applications in general.

Also, I'm clearly biased, but I firmly believe that Ruby (mostly because of frameworks like Rails) is the the language for modern web applications.
Greg Funston
Ranch Hand

Joined: Feb 09, 2011
Posts: 81

I understand your bias for Ruby, which makes me ask the specific reason(s) why you prefer Ruby over other competing technologies?
Tammer Saleh

Joined: Mar 02, 2011
Posts: 11

I'm very much a pragmatist, and Ruby on Rails appeals to that part of my nature.

Rails does a great job of saying "yes, you could do this a thousand different ways, but this is the way we've seen to work the best. If you just follow our path, you'll be done much faster." Rails focuses on building a product, as opposed to spending time finding novel ways of architecting a system.

While a framework like Rails on another language is still a boon, the dynamic nature of Ruby compliments it nicely. I can accomplish in 10 highly readable lines of Ruby what it would have taken me 100 lines in most other languages. I'm a firm believer that code is a liability, so being able to get things done with such a small codebase is a huge win.
Leandro Coutinho
Ranch Hand

Joined: Mar 04, 2009
Posts: 417
Certainly it will help you in any programming language. Studying new programming languages, books and tools help you improve your skills. You will find better ways to code, to find the right solution. Sometimes it's bad, like when you discover that your language doesn't have closures ...
I agree. Here's the link:
subject: Pros and Cons
Similar Threads
Paul - Favorite Patterns
My one cent about Seven Languages in Seven Weeks
Intro links
Ruby in Practice vs Programming Ruby
Is Ruby 'Enterprise' ready?