How many lines of code should a programmer write per day?

How many lines of code should a programmer write per day?

The table below shows the results of our calculations, which, again, are based on educated guesses. As we can see, a new developer will probably write about 100 lines of code a day, or about 25,000 lines of code in a given working year.

How long does it take to write 1000 lines of code?

Time to develop 1000 lines of original high-quality code: 2 months. The problem is that ‘writing code’ involves a lot more work than just writing code. We also need to account for design, implementation, testing, review, refactoring, integration into existing code base, and more testing.

How expensive is a line of code?

Then the cost of a single line of a code will be between $12.33 and $18.5. This would mean that for your organization a replacement cost of an application which consists of 1M SLOC would be $12M-$18M, providing your new application is going to have a similar set of features.

READ ALSO:   Is Hsrp available in Karnataka?

Is it bad to have long lines of code?

A piece of source code in your software could be compared to a page of a book. In addition to negatively affecting readability, having very long lines can destroy the positive impact of code indentation, which makes the code even harder to understand and maintain (because of chaotic line returns).

How many lines of code does a programmer write in a day?

In the 1975 software project management book, The Mythical Man Month: Essays on Software Engineering, Fred Brooks states that, no matter the programming language chosen, a professional developer will write an average 10 lines of code (LoC) per day.

How many Loc/day do programmers really code?

The COCOMO averages divided across 250 work days per year results in 6.4 to 12.8 LoC/day, encompassing the 10 LoC/day claim from the 1975 book. Is it true that professional programmers produce code at around 10 LoC/day?

How many lines of C++ code do you write a day?

In the last 12 years I have written somewhere between 90,000 and 150,000 C++ LOC (depending on how you measure LOC) for my products: PerfectTablePlan, Hyper Plan and Keyword Funnel. This is an average of round 50 lines of code per working day. Not so different from the data above.

READ ALSO:   Why is Blazing Saddles bad?

Do good programmers delete more code than they write?

Better to use some other sucker’s code who has already made that investment. On particularly productive days, a good programmer will delete more code than they write (especially if the person who had been writing the code was trying to impress folks with their hourly rate of production).