2 ms·
http://codeoffsets.com/ http://codeoffsets.com/ Also, I think that the idea is not that stupid. Bad code have many (business also) consequences and I can imagi
by maurycy 17y ago
http://codeoffsets.com/ http://codeoffsets.com/
Also, I think that the idea is not that stupid. Bad code have many (business also) consequences and I can imagine a savvy company that punishes teams for poorly written code with similar mechanism.
For instance, let's say that team has $100k bonus budget for a year. Every poorly written SLOC means $1, or $10, less in a budget because the company has to spend this money on QA or customer service.
Of course, what's really complicated is how to measure poorly written code (cyclomatic complexity, length of methods etc. basic metrics?), and how to adjust it to the deadlines.