识别代码改进

发布于 2024-07-18 10:38:58 字数 136 浏览 6 评论 0原文

我们刚刚经历了一次相当大的系统重写,我被要求查找和识别已改进的代码区域。 以此向客户证明我们所付出的努力是值得的。 识别这些区域并不是真正困难的部分,但我正在努力解决如何最好地呈现这些信息。 任何对此的建议,或者如果有人过去做过类似的事情,将不胜感激。

We've just gone through a pretty major system rewrite and I have been asked to find and identify areas of the code that have been improved. as a way to justify to the customer that the effort we've spent was worthwhile. Identifying the areas isn't really the hard part but I'm struggling with how to best present this information. Any suggestions on this, or if anyone ahs done something similar in the past would be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

裸钻 2024-07-25 10:38:58

实际上,这减少了您的技术债务全部您通常从这种努力中获得的好处也适用于此。 一些影响将是前瞻性的。 例如:

  • 通过更好、更清晰的 API 降低缺陷率。
  • 由于接口更容易测试并且集成点更少,因此开发时间更短(成本更低)。
  • 更容易维护旧代码,因为它们所依赖的层现在将更加干净且更简洁。

然而,其中一些将是立竿见影的:

  • 更快的构建,因为更少的麻烦。
  • 识别在生产之前不会发现的错误,因为对这些区域进行单元测试太困难了。
  • 更好地分离层和关注点。

当然,这些好处的应用程度取决于您的项目及其代码库。

In effect, this is a reduction of your technical debt. All of the benefits you would normally receive from that sort of effort will also apply here. Some of the effects will be forward-looking. For example:

  • Reduced defect rate as a result of better, clearer APIs.
  • More rapid development time (and lower costs) because interfaces are easier to test and have fewer integration points.
  • Easier to maintain old code, because the layers they depend on will now be cleaner and freer of cruft.

Some of them will be immediate, however:

  • Faster build because there's less cruft.
  • Identification of bugs that wouldn't have been found until production because unit testing these areas was too hard.
  • Better separation of layers and concerns.

The degree to which these sorts of benefits apply will, of course, be specific to your project and its code base.

︶葆Ⅱㄣ 2024-07-25 10:38:58

这取决于客户:客户有技术头脑吗? 它们是内部的还是外部的? 他们想要多少细节? 您是否被要求重写?如果是的话,由谁以及出于什么原因?

It depends on the customer: is the customer technically-minded? Are they internal or external? How much detail do they want? Were you asked to rewrite, and if so by whom and for what reason?

°如果伤别离去 2024-07-25 10:38:58

由于它是针对非技术人员,我建议使用条形图和饼图。 没有什么比彩色大图表更能帮助非技术人员掌握复杂的主题了。

Since it is for non technical people I would suggest Bar and Pie charts. Nothing helps non technical people grasp complex subjects like a big colorful chart.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文