• 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

Question about the RoR anti patterns book

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you say that its a good book for RoR beginner?
 
Sheriff
Posts: 1367
18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Were these antipatterns observed in the "wild"?
 
Katrina Owen
Sheriff
Posts: 1367
18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You bet!

They are naturally occurring anti-patterns observed in their natural habitat. Fascinating creatures...
 
Ranch Hand
Posts: 331
Python Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
author
Posts: 11
Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Your mind is under my control .... your will is now mine .... read this tiny ad
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic