Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion {技术}代码的坏味道——你们的项目有这些问题吗?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tiny fool  
View profile   Translate to Translated (View Original)
 More options Sep 21 2009, 10:55 pm
From: Tiny fool <tinyf...@gmail.com>
Date: Tue, 22 Sep 2009 10:55:40 +0800
Local: Mon, Sep 21 2009 10:55 pm
Subject: Re: [TL] Re: {技术}代码的坏味道——你们的项目有这些问题吗?

无法写出单元测试的情况下重构,确实可以表现你的功底,但是为了质量还是最好在单元测试的前提下重构吧

2009/9/22 肖海彤 <red...@gmail.com>

> 这个世界上, 好的代码和差的代码都有, 但是只要可以实现其经济价值, 并且在用户手里可以正常稳定工作, 就是好软件.

> 如果你能将这20万行代码重构成结构良好的代码, 比起重新做出来20万行结构好的代码, 对你的锻炼会更大 :)

> 我最近重构了 12万行代码 C/C++ (上面跑着25万行脚本), 其中部分代码良好, 部分代码较差, 现在重构基本做完了, 觉得还是挺挑战
> 的:  要在无法写出单元测试, 覆盖测试代码的基础上, 分离耦合, 提取模块, 同时让上面的脚本一直保持可以正确运行.

> On Sep 22, 8:07 am, missdeer <missd...@gmail.com> wrote:
> > 最近一直在学习Martin Fowler的《重构》,并且对照我参与的一个已经投入至少15人年,历时3年,约20万行,目前仍然在继续开发维护

--
Tinyfool的开发日记 http://www.tinydust.net/dev/

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.