Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Richard Lynch
Eakin, W wrote: > Hello, > This question could be seen as a general programming question, but > because PHP is what I know best, I'll ask it here. > > A good friend of mine is the person who got me more interested in > programming as a career. She's a professional COBOL programmer, and > works

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Robert Cummings
On Tue, 2004-12-21 at 12:26, Christopher Fulton wrote: > 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

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Robby Russell
On Tue, 2004-12-21 at 11:41 +0100, Eakin, W wrote: > Hello, > This question could be seen as a general programming question, but > because PHP is what I know best, I'll ask it here. > > A good friend of mine is the person who got me more interested in > programming as a career. She's a profe

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Christopher Fulton
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 wr

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Justin French
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

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Ian Firla
Good question. Personally, I think I tend to write more new code than reworking old code. However, I have taken on numerous projects where I've been required to port ASP to PHP and MSSQL dbs to Postgre or MySQL... but these projects also require a fair bit of new code. There are *so* many legacy