What's your average lines of code output per day?

tfinch2

Lifer
Feb 3, 2004
22,114
1
0
So I've been working as a developer for more than two years now, but this is the first time I've done it without school. I've been at it for about three months now, and started immediately with a large workload because I was not new when I started as a full-time employee (previously an intern).

I never did expect to sit in my cube for 8 hours a day and churn out code, but if somebody told me a few years ago that my average LOC/day was going to be ~30 while being busy 100% of the time I am at work, I would not have taken them seriously.

I know that LOC/day is not a very good gauge for a developer's productivity, but to me it's an interesting subject none-the-less.

Thoughts?
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
Honestly I think it's a horrible measure, and pretty meaningless as there is no way to correlate it with increases in the level of abstraction of popular languages. We work on feature-oriented schedules, and also bug-fix-oriented.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
I've never really kept track of that, or really had any desire to. Sure I've looked once or twice at the end of the day, but mostly because I knew it was going to be really high. For me it's all about getting as many bugs fixed and getting new features into the code base as quickly as possible so we can start getting feedback from the users to start all over again the next week :p
 

presidentender

Golden Member
Jan 23, 2008
1,166
0
76
Some days I write two hundred, some days I write two. The two LOC days are, by and large, harder than the 200 LOC days.
 

degibson

Golden Member
Mar 21, 2008
1,389
0
0
One of my current projects (as captured by my latest svn revision and some of my own tallying scripts):
Total code written by me: 55410
Total debugged lines written by me (incl comments): 35041
Total debugged lines (no comments): 28781
Total business days working on the project: 507
LOC/day: ~109, ~69, or ~57, depending on your definition of LOC

Most of that has been in massive chunks at a time, say, 1000 lines every 10 days or so.
 

KB

Diamond Member
Nov 8, 1999
5,406
389
126
I include the UI designer lines of code, plus code created by code generators in my code count for management, so my output ranges from 15 - 5000 /day.

If I don't include auto-code then it is 15 - 200 lines per day
 

techfuzz

Diamond Member
Feb 11, 2001
3,107
0
76
Most days I spend my time in meetings, phone, and with other support issues even though I'm the sole developer. When I do get around to coding without all the distractions I probably write 100-200/day. But when you factor in all the other stuff, I'm probably near 10-20 LOC/day.

techfuzz
 

Train

Lifer
Jun 22, 2000
13,587
82
91
www.bing.com
Some days I can accomplish the most by actually reducing the amount of code in my app.

Say I have 4 bugs to fix, they are all caused by a bad class design. I do some refactoring, remove a few redundant methods, etc etc. Bugs are fixed, and I could have 500 less lines of codethan when I started.
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: presidentender
Some days I write two hundred, some days I write two. The two LOC days are, by and large, harder than the 200 LOC days.

 

nakedfrog

No Lifer
Apr 3, 2001
62,935
19,171
136
I'd generally prefer my LOC/day to be a negative number, since we have a fairly large code base.
 

Woosta

Platinum Member
Mar 23, 2008
2,978
0
71
Minimum 500 - it depends on what I'm working on and the difficulty, but around this much daily. 130 wpm and Vim helps :)
 

eakers

Lifer
Aug 14, 2000
12,169
2
0
it depends. I haven't written any new code in like 2 weeks because I've been working on design documents and investigation projects.

Next week I can start implementation though.
 

degibson

Golden Member
Mar 21, 2008
1,389
0
0
Originally posted by: nakedfrog
I'd generally prefer my LOC/day to be a negative number, since we have a fairly large code base.

That sounds like a really great idea for me to do, too.
 

BustaBust

Golden Member
Dec 21, 2001
1,425
2
81
I'm just getting into programming. How does this IT voyage start out?
Helpdesk?

I have no idea how everything is supposed to work.
From the first day of the first job to ......

Judging from the comments it doesn't seem all that great.