Skip to search.
extremeprogramming · Extreme Programming

Group Information

  • Members: 6527
  • Category: Object Oriented
  • Founded: Jan 1, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Reuse across projects   Message List  
Reply Message #149980 of 157781 |
Hi,

As far as I understand it, XP discourages assuming something is going to be
needed until you actually get to that point where it is needed. Also
according to my understanding, that includes abstracting code to be more
general for reuse, until there is duplication, and then it can be
refactored.

So, what about reuse across projects? That'd be duplication, but not within
the same project.

I've put about 30 hours into a part of this project I'm working on that I
really think could be reused, which is why I'm curious about this. Surely
reuse across projects can save a lot of time.

So how do you handle this, when you're working on a new project, and there's
a part that is very similar to something in another project? How do you know
when to abstract it for better reuse?

Thanks,
Brandon




Thu Apr 9, 2009 11:03 am

devbanana
Online Now Online Now
Send Email Send Email

Message #149980 of 157781 |
Expand Messages Author Sort by Date

Hi, As far as I understand it, XP discourages assuming something is going to be needed until you actually get to that point where it is needed. Also according...
Brandon Olivares
devbanana Online Now Send Email
Apr 9, 2009
11:04 am

Hello, Brandon. On Thursday, April 9, 2009, at 6:03:47 AM, you ... Actually, unless the projects are being done by the same team, reuse is quite difficult to...
Ron Jeffries
RonaldEJeffries Offline Send Email
Apr 9, 2009
11:20 am

... When all the projects are in the same Grand Wazoo Build suite. That way you change one shared module, and they all rebuild and retest on the test server....
Phlip
phlipcpp Offline Send Email
Apr 9, 2009
12:37 pm

Hi, Brandon, ... Reuse was once touted as the "new wave" that would make software development much more efficient. In practice, that has not generally ...
George Dinwiddie
gdinwiddie Offline Send Email
Apr 9, 2009
1:44 pm

Hi George, ... That's a huge challenge! I've seen attempts to broadcast information, repositories with search capabilities, and so on, but little success. Even...
Jeff Langr
jlangr Offline Send Email
Apr 9, 2009
2:38 pm

Actually, reuse is incredibly easy to achieve and occurs all the time. We see this in the form of open source software, for example. We also see this in the...
Scott Ambler
scottwambler Offline Send Email
Apr 10, 2009
11:00 am

... Reuse of reusable software is easy. That is what it means for software to be reusable; it is easy to reuse. On the other hand, making reusable software...
Ralph E. Johnson
rej_13 Offline Send Email
Apr 10, 2009
1:49 pm

... That sounds interesting. I would predict though that it would rarely get backported to the previous project, since it already works as-is? That's not ...
Brandon Olivares
devbanana Online Now Send Email
Apr 9, 2009
4:08 pm

... If there's benefit to ongoing work on the original project, then the chances are pretty good. The generalization process often makes the code easier to...
George Dinwiddie
gdinwiddie Offline Send Email
Apr 9, 2009
7:03 pm

Surely someone has studied how reuse works in open source. One Ruby repository (rubyforge) has 7558 projects. I imagine the use of them follows a sharply...
Brian Marick
briandawnpau... Offline Send Email
Apr 9, 2009
10:39 pm

... That's exactly what I'm thinking. What people are saying makes sense, but if everyone had that mindset, we wouldn't have frameworks such as Rails, nor any...
Brandon Olivares
devbanana Online Now Send Email
Apr 9, 2009
11:11 pm

Hello, Brandon. On Thursday, April 9, 2009, at 6:10:15 PM, you ... There are plenty of things that are reused. If they are easy to reuse, it is likely that...
Ron Jeffries
RonaldEJeffries Offline Send Email
Apr 10, 2009
2:33 pm

On Fri, Apr 10, 2009 at 7:32 AM, Ron Jeffries ... Sometimes it does make business sense, though. Rails is an example where the commercial product lent itself...
Adam Sroka
adamjaph Offline Send Email
Apr 10, 2009
5:13 pm

... The advantage of open-source is, of course, that it is unnecessary to make the framework perfect for every possible use. This reduces the cost. ... I have...
Steven Gordon
sfman2k Offline Send Email
Apr 10, 2009
5:47 pm

... I don't know that that is an advantage of open-source per se. Design decisions will affect the way that a framework can be (ab)used, and people will find a...
Adam Sroka
adamjaph Offline Send Email
Apr 10, 2009
5:55 pm

... Yes, to a first approximation. However ... I do think that much of good design just happens to be good for reuse. Small modules, not very interdependent...
Ron Jeffries
RonaldEJeffries Offline Send Email
Apr 10, 2009
11:51 pm

... There are at least two sides to this: It used to be believed, and is still believed by some, that reuse was a goal in and of itself. In fact, it is the...
Adam Sroka
adamjaph Offline Send Email
Apr 9, 2009
11:14 pm

... This is also an interesting idea, but how would this emergent reuse work? I can see modifying that component for each project you need it to *only* fit the...
Brandon Olivares
devbanana Online Now Send Email
Apr 9, 2009
11:35 pm

... I don't think that is conventional wisdom. Maybe in some circles. People who study software reuse distinguish between reusable software and software that...
Ralph E. Johnson
rej_13 Offline Send Email
Apr 10, 2009
1:41 pm

... Good point, Brian. And probably the best way for an organization to let others within the same organization know about a particular reusable component is...
George Dinwiddie
gdinwiddie Offline Send Email
Apr 9, 2009
11:55 pm

I'm glad to see that others also identify this as a very difficult thing to do. We have been struggling with this for a while and I feel that we have a decent...
timander37 Offline Send Email Apr 9, 2009
7:09 pm

... I ask organizations to consider an "internal open source" model for promoting reusable code across projects. When two teams notice they share some code in...
J. B. Rainsberger
nails762 Offline Send Email
Apr 29, 2009
10:52 pm

There should be someone/some group that says they want to reuse the code. You may have to advertise to let developers know the code exists. Get up and walk...
geoffrey_slinker
geoffrey_sli... Offline Send Email
Apr 29, 2009
11:30 pm

Hello, geoffrey_slinker. On Wednesday, April 29, 2009, at 7:29:31 ... If code is similar but not the same, I like to make it the same then remove the...
Ron Jeffries
RonaldEJeffries Offline Send Email
Apr 30, 2009
12:37 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help