The Secret to Rails OO Design - Literate Programming

Uncategorized

The Secret to Rails OO Design - Literate Programming

URL: http://blog.steveklabnik.com/posts/2011-09-06-the-secret-to-rails-oo-design
Type: link
Domain: blog.steveklabnik.com

Excerpt: Yep, that's right. A Ruby class that inherets from nothing. It's so simple that it hides in plain sight. Loved by those who've mastered Rails, Plain Old Ruby Objects, or "POROs" as some like to call them, are a hidden weapon against complexity. Here's what I mean. Examine this 'simple' model: