stupid question ?
-
Just wandering what every thinks about this and what the industry expects... How many lines of code should a developer (c/c++) write on average each day ? I know that this is a very general and vague statistic ... Someone designing an algorithm won't write many lines of code ... but will spend a lot of time thinking about how to write them ... Still, I am assuming that the average developer will perform all sorts of programming tasks, algorithm design being one of them. So is there a good number ? :confused: Tom.
ZoiD wrote: How many lines of code should a developer (c/c++) write on average each day ? Our CTO once told us that Motorola has done some internal study and it seems the lines per day of a programmer is about 130 (regardless of the language and logic/algorithm). This is an average calculation for a month's work or so! A similar benchmark is used by some companies for getting to some productivity metrics of their programming team. These lines are supposed to be complete (as per the requirement specs), optimized (no redundant code) & bug-free (as per the requirement specs) lines of code. - Nirav - * Artificial intelligence is no match for natural stupidity! *
-
Just wandering what every thinks about this and what the industry expects... How many lines of code should a developer (c/c++) write on average each day ? I know that this is a very general and vague statistic ... Someone designing an algorithm won't write many lines of code ... but will spend a lot of time thinking about how to write them ... Still, I am assuming that the average developer will perform all sorts of programming tasks, algorithm design being one of them. So is there a good number ? :confused: Tom.
What is a line of code ? I have in the past produced more in 1 hour than I have in one month. I wrote more working code in the month , but the few well thought out lines I generated in an hour had a much bigger business impact. But perhaps my environment is different to yours . If you have zombies coding to a well defined spec then you are comparing their typing speed , not their thinking speed .
-
Just wandering what every thinks about this and what the industry expects... How many lines of code should a developer (c/c++) write on average each day ? I know that this is a very general and vague statistic ... Someone designing an algorithm won't write many lines of code ... but will spend a lot of time thinking about how to write them ... Still, I am assuming that the average developer will perform all sorts of programming tasks, algorithm design being one of them. So is there a good number ? :confused: Tom.
ZoiD wrote: How many lines of code should a developer (c/c++) write on average each day ? How about code correction, copying and deleting? If I write 10 lines and I delete 2 of them, is it 8 lines or 12??? :-D ZoiD wrote: So is there a good number ? I think it's 534,68 correct? "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
-
ZoiD wrote: How many lines of code should a developer (c/c++) write on average each day ? Our CTO once told us that Motorola has done some internal study and it seems the lines per day of a programmer is about 130 (regardless of the language and logic/algorithm). This is an average calculation for a month's work or so! A similar benchmark is used by some companies for getting to some productivity metrics of their programming team. These lines are supposed to be complete (as per the requirement specs), optimized (no redundant code) & bug-free (as per the requirement specs) lines of code. - Nirav - * Artificial intelligence is no match for natural stupidity! *
-
Just wandering what every thinks about this and what the industry expects... How many lines of code should a developer (c/c++) write on average each day ? I know that this is a very general and vague statistic ... Someone designing an algorithm won't write many lines of code ... but will spend a lot of time thinking about how to write them ... Still, I am assuming that the average developer will perform all sorts of programming tasks, algorithm design being one of them. So is there a good number ? :confused: Tom.
Ok, I see this 'stupid question' seems like it isn't really answerable... The reason I asked is as follows: In an earlier post I mentioned that my company's average was about 10 lines a day... Based on the current project that I am working I calculated that I am writing an **AVERAGE** of 70 lines a day... Based on the discrepency between my output and what I was told the company average was, I was wondering if we need more resources for this project. I know that other developers working on this project are creating a similar average count. I know that as a team we are still slightly behind schedule and definitely behind in documentation, both internal and external... (I am not counting internal docs as lines of code). I wanted to see if the line count could be used as a baseline indicator to show (explain) to management scope of the project and the effort being put in. Thanks for all of your inputs. ps. And yes there are days when I remove 100 lines, but overall the project from start to finish will increase in size so the average line count will always be positive... (unless your position on the team is to inspect other's work)
-
Just wandering what every thinks about this and what the industry expects... How many lines of code should a developer (c/c++) write on average each day ? I know that this is a very general and vague statistic ... Someone designing an algorithm won't write many lines of code ... but will spend a lot of time thinking about how to write them ... Still, I am assuming that the average developer will perform all sorts of programming tasks, algorithm design being one of them. So is there a good number ? :confused: Tom.
4 lines in last 16 hrs of work :confused:
There is no spoon. suhredayan