File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ruby and the fly likes Question about the RoR anti patterns book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Question about the RoR anti patterns book" Watch "Question about the RoR anti patterns book" New topic

Question about the RoR anti patterns book

Cathy Chlevner

Joined: Aug 24, 2008
Posts: 13
Would you say that its a good book for RoR beginner?

"Laziness is nothing more than the habit of resting before you get tired." - Jules Renard
Katrina Owen

Joined: Nov 03, 2006
Posts: 1367
I'm not the author, so take what I say with a grain of salt.

I don't think that beginners will be able to benefit from the book as much as the book deserves, so to speak.

Basically, if you have written a few rails applications, you will recognize several things:
1. You see the anti-pattern, and recognize something you did (along with the reasons you chose to do it)
2. You understand the discussion of why it's not really a good idea afterall
3. You get the benefit of a nice a-ha moment when you see how to solve the problem in a different way

If you don't have any experience with rails, there's a chance that much of the discussion will just be words.

Said another way: if you've made the mistakes, the pain you felt making the mistakes will make it that much more efficient to learn from the book.
Gabor Liptak

Joined: Jul 14, 2009
Posts: 8
Were these antipatterns observed in the "wild"?
Katrina Owen

Joined: Nov 03, 2006
Posts: 1367
You bet!

They are naturally occurring anti-patterns observed in their natural habitat. Fascinating creatures...
Sumit Bisht
Ranch Hand

Joined: Jul 02, 2008
Posts: 331

If you mean practically, then yes, these anti-patterns have been picked up from live/real world rails implementations that have gone wrong.
As RoR is maturing as a platform, we need to be aware of the common mistakes that occur in it (by java, php or .net developers) and have a roadmap for refactoring our existing codebase.
Tammer Saleh

Joined: Mar 02, 2011
Posts: 11

Chad and I have had a lot of exposure to "interesting" rails applications as consultants (Thoughtbot, and independently). These AntiPatterns are definitely issues we've actually seen - no armchair philosophy coding, here
I agree. Here's the link:
subject: Question about the RoR anti patterns book
It's not a secret anymore!