TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How many lines of code per developer?

2 点作者 focusaurus将近 15 年前
Curious to hear for mature products what are your approximate ratios of total lines of source code per active developer? How much code is too much such that the organization becomes incapable of reasonable maintenance?

1 comment

adelevie将近 15 年前
I would think that the number could greatly fluctuate. Perhaps there are better ways to measure complexity of code such as <a href="http://thinksimple.pl/entries/88-Ruby-static-code-analysis" rel="nofollow">http://thinksimple.pl/entries/88-Ruby-static-code-analysis</a>.<p>These tools could be used to turn code smells, duplication, and poorly written tests into a total "score" for well-written code. Although this should hardly be the way code is evaluated.<p>Also, complex code that isn't written "the best way" isn't so bad. It incurs technical debts. Like financial debt, technical debt can be very good if used properly--or end with disastrous results if used irresponsibly. So let some component of a code base bloat if you need to hit a deadline so long as you're going to refactor later.
评论 #1457927 未加载