The Programmer Productivity Paradox
Join the DZone community and get the full member experience.Join For Free
Programmers seem to be fairly productive people.
You always see them typing at their desks; they chafe for meetings to finish so that they can go back to their desks and code. When asked, they will say that there is not enough time to produce the code, and the sooner they can start coding, the sooner they will be done.
If the average programmer writes about 50 lines of production code a day. A 50,000 line program would take 1,000 man days to produce. The 50,000 line listing can be entered by a programmer at about 1,000 lines a day or about 50 man days.
Before addressing that issue, lets make a simple observation. Capers Jones has compared many methodologies (RUP, XP, Agile, Waterfall, etc) and programming languages over thousands of projects and determined that programmers write between 325 and 750 lines of code (LOC) per month, which is less than the 1,000 LOC per month suggested above1. Even if programmers do not average 50 lines of code per day, the following is clear2.
- Methodology does not explain the apparent productivity gap
- No language accounts for the apparent productivity gap
Or more correctly, the combination that seems to match the requirements until either QA or the business analyst comes back and lets them know there is a problem.
That is why developers that plan their code before using the keyboard tend to outperform other developers. Not only do only a few developers really plan out their code before coding but also years of experience do not teach developers to learn to plan. In fact studies over 40 years show that developer productivity does not change with years of experience. (see No Experience Required!)
|1||The The Mythical Man Month is even more pessimistic suggesting that programmers produce 10 production lines of code per day|
|2||Jones, Capers and Bonsignour, Olivier. The Economics of Software Quality. Addison Wesley. 2011|
|3||Watts, Humphrey. Introduction to the Personal Software Process, Addison Wesley Longman. 1997|
Published at DZone with permission of Dalip Mahal, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.