Re: Writing new code vs. re-writing someone else's code
| From: | Christopher Fulton | Date: | Tue, 21 Dec 2004 17:26:49 +0000 |
| Subject: | Re: Writing new code vs. re-writing someone else's code | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204838@lists.php.net to get a copy of this message | ||
Honestly, I think it does depend a lot on the language you are using.
From my experience, most people who work in PHP tend to write more new
code than those who use COBOL.
[snip]
There are *so* many legacy COBOL applications though that, yeah, I think
a COBOL programmer will very rarely get to write anything new.
[/snip]
I agree. I was reading something that like 80% of the code out there
(don't quote my numbers) is in COBOL and FORTRAN.
Anyways, to answer your question, I spend about 30% of my time writing
new code and about 70% of my time working on legacy code. Of course,
often due to lacking comments most of the time spent with old code is
just trying to figure out what they were doing. :)
-Chris
On Wed, 22 Dec 2004 01:13:58 +1100, Justin French
<justin.french@indent.com.au> wrote:
> On 21/12/2004, at 9:41 PM, Eakin, W wrote:
>
> > The question is, how much of your time (you, the professional PHP
> > coder reading this), is spent rewriting/repairing old code vs. writing
> > new code.
>
> When I'm working on a new project, my time is generally spent hooking
> into my existing framework with new code and models.
>
> When I'm making changes to existing projects, I tend to be mainly
> repairing, modifying and updating code, plus adding a little new code.
> I'm highly addicted to cleaning and refining my old code, so if I see
> something messy and have a few spare minutes, I'll always clean up old
> code to make it better.
>
> I absolutely hate working with other people's code or inheriting a
> project unless it's really clean and well thought out, and well
> documented.
>
> ---
> Justin French, Indent.com.au
> justin.french@indent.com.au
> Web Application Development & Graphic Design
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>