Skip to content

Commit 5850f9c

Browse files
authored
Update i01what_why_when.md
1 parent 54af5ba commit 5850f9c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

00RefactoringPython/ch2Principles/i01what_why_when.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
性能优化往往让代码较难理解,但为了得到所需性能你不得不这么做。
1010
<br><br>
1111

12-
![](https://raw.githubusercontent.com/greatabel/RefactoringPython/master/ch2Principles/2hats.jpeg)
12+
![](https://github.com/lytpe/ImprovePython/edit/master/00RefactoringPython/ch2Principle/2hats.jpeg)
1313
<b>&nbsp;添加新功能</b>时候,你不应该修改既有代码,只管添加新功能。。通过测试,衡量工作进度。<br>
1414
<b>&nbsp;重构时候</b>你就不能再添加功能,只管改进程序结构。此时不应该添加测试。<br>
1515
软件开发中,你可能发现自己经常变换帽子,可能来回切换,但是无论何时你都要清楚自己戴的是哪一顶帽子。
@@ -20,12 +20,12 @@
2020
···重构就像整理代码,让所有东西回到应处的位置,代码结构流失是累积性。<br>
2121
···经常性的重构帮助代码维护自己该有的形态
2222
2. 让软件更容易理解<br>
23-
<img src="https://raw.githubusercontent.com/greatabel/RefactoringPython/master/ch2Principles/clean_window.jpg" height="100" width="100">
23+
<img src="https://github.com/lytpe/ImprovePython/edit/master/00RefactoringPython/ch2Principles/clean_window.jpg" height="100" width="100">
2424
早起重构像:擦掉窗户上的污垢,使得你看的更远。重构把我带上更高理解层次;如果没有重构,我达不到这种层次。<br>
2525
3. 重构提高编程速度
2626
···重构帮助你更快速的开发程序<br>
2727
···良好的设计是快速开发的根本
28-
<img src="https://raw.githubusercontent.com/greatabel/RefactoringPython/master/ch2Principles/modao.jpg" height="200" width="200">
28+
<img src="https://github.com/lytpe/ImprovePython/edit/master/00RefactoringPython/ch2Principles/modao.jpg" height="200" width="200">
2929

3030

3131
![#b49ee5](https://placehold.it/15/b49ee5/000000?text=+)

0 commit comments

Comments
 (0)