Search the web
Sign In
New User? Sign Up
leanprogramming · Lean Programming
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
how to help future code inheritors?   Message List  
Reply | Forward Message #748 of 762 |
Re: [leanprogramming] how to help future code inheritors?

I actually did the same thing in which two of us had to do a rewrite of some legacy code.  He knew a lot about the domain and neither of us knew a lot about how the end product was really supposed to work other than by just looking through the code.

They poked fun at us for a bit, then after we finished and nothing bad appeared on the radar besides a couple of misinterpretations of the data, they decided that TDD and paired-programming was a good thing to be doing.  For those that didn't realize it was only temporary, they started asking where my partner was. heh.

I tried convincing them that they could be my next partner, but no one else was willing to do paired programming; too different from what they're used to, they stated.

Too bad for them.  :(

At least I was able to convince the management to get the rest of the team some TDD training with that example.  It remains to be seen whether or not they are going to stick with using it.


-Chris


On Sun, May 10, 2009 at 12:55 PM, Jonas Andersson <jonananas@...> wrote:



Once on a No Fluff Just Stuff-seminar Venkat told a story about how he started out doing code review by just deciding with a collegue that they would team up doing it together. People around them were teasing them about doing code review until the first release, when the measured number of bugs per programmer clearly showed the benefits of code review.

Maybe you could try the something similar with you're ideas. Let's hope "your" people is smart enough to care :)

-- Jonas

2009/5/8 Raoul Duke <raould@...>



> This was definitely not a silverbullit reply. Still thought I'd give you
> some feedback :)

thank you for taking the time to share the perspective. it is
definitely helpful, and is sparking some thoughts for me. i'm starting
with the negatives since (a) i'm a pessimist and (b) i'd have to start
there to then be able to dream up possible solutions.

1) the role i'm talking about (just to get specific here; i'm not
saying this generalizes) would be inheriting code from people who both
decided the goals and wrote the code. i think that sorta reduces the
power of one possible leverage point: get the customer involved in
making e.g. Fitness tests so that the developers start to get into the
gestalt of things like testing, and further, continuous integration,
and thus hopefully refactoring, and thus hopefully ever more
appropriate testing.

2) the other issue is that projects are in theory changing every few
months, and so there is no guarantee of working consistently with the
same upstream people. which reduces the chance of me trying to "manage
up" some nurturing of software engineering. on the other hand, maybe
it means one group will turn out to be very receptive, and then that
will help influence other folks.

potentially interesting times...

:)

i guess i figure that the root issue is to be able to bring people
around to seeing that code quality matters, and then what is involved
in that, and that there are dividends for them if they invest in it.
which is not a new statement or insight. trying to figure out how to
map that down to specific situations is a curious exercise.

sincerely.




Tue May 12, 2009 8:25 pm

bigbuffwolf
Offline Offline
Send Email Send Email

Forward
Message #748 of 762 |
Expand Messages Author Sort by Date

(i asked this on the Kanban list; Alan suggested posting here, thanks!) what do we need to do to make sure folks who inherit the code for whatever reason can...
Raoul Duke
theraoulduke
Offline Send Email
May 7, 2009
8:39 pm

Massive question.... In general, this is the reason Michael Feathers wrote his book "Working Effectively With Legacy Code", wherein he focuses on getting...
Scott L. Bain
slbain9000
Offline Send Email
May 7, 2009
8:50 pm

... many thanks for the thoughts and the link! to constrain the question somewhat (this is all relevant to a job i'm interviewing for), assume that the code is...
Raoul Duke
theraoulduke
Offline Send Email
May 7, 2009
8:56 pm

This is a really interesting question. I am in a position right now where I have a lot of influence on a team where we are developing a green-field app. I just...
Jonas Andersson
jonananas
Offline Send Email
May 8, 2009
3:21 pm

... thank you for taking the time to share the perspective. it is definitely helpful, and is sparking some thoughts for me. i'm starting with the negatives...
Raoul Duke
theraoulduke
Offline Send Email
May 8, 2009
5:57 pm

Once on a No Fluff Just Stuff-seminar Venkat told a story about how he started out doing code review by just deciding with a collegue that they would team up...
Jonas Andersson
jonananas
Offline Send Email
May 10, 2009
5:56 pm

... good points -- carrot vs. stick....
Raoul Duke
theraoulduke
Offline Send Email
May 11, 2009
5:04 pm

I actually did the same thing in which two of us had to do a rewrite of some legacy code. He knew a lot about the domain and neither of us knew a lot about...
Christopher Sage
bigbuffwolf
Offline Send Email
May 12, 2009
8:27 pm
Advanced

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