On average, how many lines of code should developer write per day?
I want to know how to answer this question.
On average, how many lines of code should developer write per day?
I want to know how to answer this question.
Some days you'll net none, other days you may net a few hundred. Depends heavily on the project, and the people involved.
LoC is not an accurate way to describe productivity. It doesn't take into account how much work has been done, just how much your codebase has bloated. http://www.folklore.org/StoryView.py?project=Macintosh&story=Negative_2000_Lines_Of_Code.txt
That depends on so many factors it's impossible to give a general answer. Plus, how do you define "should"? Lines of code are also a poor measure of progress anyways...
I once wrote 500 lines of code in one day, then went to sleep and realised that what I had written is overly complicated and stupid. I woke up the next morning and wrote 100 lines of code that replaced my 500 lines and was way faster and more efficient. Work smarter, not harder.