From: Jake McArthur Date: 2006-04-29T10:44:55+09:00 Subject: Re: Ruby Drops There are many benefits: a) You help others to not repeat themselves (obvious). b) You open parts of your code up so that others have reason to find and fix your bugs. c) It creates a much more useful repository of code than ordinarily because this is code that people actually are using and maintaining, not just things people figured might be useful later. The point isn't to see that you repeated somebody when you shouldn't have. The point is to see the repeat and save everybody the trouble and factor it into one central location. It's not too difficult; like you said, you already wrote the code. It's just a matter of branching it off and making it shiny. Code that has been factored out would, of course, be tagged and searchable so that people (or you) _can_ look for the code they "intend" to write. - Jake McArthur > I am afraid the problem here is: what I would do even if I find > that some of > my code repeats code in repository? I already *had written* the > code, so, > where is my benefits? To understand "Oops, I'm and idiot" ? I > already knew > :)) > > Much more useful repository must help me to find the code I only > *intend* to > write - and here code comparison isn't necessary, because I have > nothing to > compare yet. > > What do you think about this?