The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Reuse is vastly overrated

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
David Heinemeier Hansson

Posts: 512
Nickname: dhh
Registered: Mar, 2004

David Heinemeier Hansson is the lead Ruby developer on 37signal's Basecamp and constructor of Rails
Reuse is vastly overrated Posted: Jan 20, 2006 11:24 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by David Heinemeier Hansson.
Original Post: Reuse is vastly overrated
Feed Title: Loud Thinking
Feed URL: http://feeds.feedburner.com/LoudThinking
Feed Description: All about the full-stack, web-framework Rails for Ruby and on putting it to good effect with Basecamp
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by David Heinemeier Hansson
Latest Posts From Loud Thinking

Advertisement

Context beats consistency. Reuse only works well when the particular instances are so similar that you're willing to trade the small differences for the increased productivity. That's often the case for infrastructure, such as Rails, but rarely the case for business logic, such as authentication and modules and components in general.

And even at the infrastructure level it's really, really hard. I believe Rails works so well because it was all created with a coherent vision. When you try to hard to reuse, you'll often end up with a frankenstein of slightly different approaches and philosophies that creates rough, unpolished surfaces that simply can't make you happy because it can't be beautiful.

Finally, the new economics of dynamic languages like Ruby simply makes reuse a lot less attractive. Since the cost of producing new, original code is so much lower, the demands on reuse are that much greater. And usually that means it'll take more time to reuse something than it'll take to create it from scratch. Leaving you with something that's both more expensive and uglier.

Note: This is not an invitation to start a copy'paste rampage under the guise of context over consistency. Don't be a dummy.

Read: Reuse is vastly overrated

Topic: Stone Code Invitational Previous Topic   Next Topic Topic: Bright ideas are worth less than the gum stuck to the bottom of my shoe.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use