Re: Compulsive use of With
- From: Maël Hörz <none@xxxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 21:27:53 +0100
Ray Marron schrieb:
"Maël Hörz" <none@xxxxxxxxxxxx> wrote in message news:47a20101@xxxxxxxxxxxxxxxxxxxxxxxxxLets face it, no programmer is happy with the previous programmers code to some degree. The impulse is to rewrite. I'm supervising someone who is very similar to me in style, she likes to rewrite my code, and I have to tell her not too. She says it's so she can 'understand' it.Rewriting code really can help to understand it [SNIP]
Always nicer to maintain code that works than code that doesn't.
That's fine - just don't check it in, unless you're willing to run all the regression tests yourself or get your ass kicked by QA. :)
Well, the context in which I made the comment is important :-) I didn't say you should do it just if you feel like it. Depending on the code, rewriting it may *ease* further testing and maintenance, especially if it has to evolve. I just wanted to point out that it makes no sense to generally rule out a partial rewrite, this however doesn't imply you should always do it ;-)
.
- References:
- Compulsive use of With
- From: Bruce McGee
- Re: Compulsive use of With
- From: Oliver Townshend
- Re: Compulsive use of With
- From: Maël Hörz
- Re: Compulsive use of With
- From: Ray Marron
- Compulsive use of With
- Prev by Date: Re: GC performance - GC fragility
- Next by Date: Re: GC performance - GC fragility
- Previous by thread: Re: Compulsive use of With
- Next by thread: Re: Compulsive use of With
- Index(es):
Relevant Pages
|