add 图片&附录A 目录优化
23
README.md
@@ -1,15 +1,34 @@
|
||||
# Clean-Code-zh
|
||||
|
||||
架构整洁之道 中文翻译
|
||||
《代码整洁之道》中文翻译
|
||||
|
||||
在线阅读:[http://gdut_yy.gitee.io/doc-cleancode/](http://gdut_yy.gitee.io/doc-cleancode/)
|
||||
|
||||
<!-- <img src="./docs/cover.png" width=40%> -->
|
||||
<img src="./docs/cover.jpg" width=24% />
|
||||
|
||||
## 前言
|
||||
|
||||
## Index
|
||||
|
||||
- [第 1 章 整洁代码](docs/ch1.md)
|
||||
- [第 2 章 有意义的命名](docs/ch2.md)
|
||||
- [第 3 章 函数](docs/ch3.md)
|
||||
- [第 4 章 注释](docs/ch4.md)
|
||||
- [第 5 章 格式](docs/ch5.md)
|
||||
- [第 6 章 对象和数据结构](docs/ch6.md)
|
||||
- [第 7 章 错误处理](docs/ch7.md)
|
||||
- [第 8 章 边界](docs/ch8.md)
|
||||
- [第 9 章 单元测试](docs/ch9.md)
|
||||
- [第 10 章 类](docs/ch10.md)
|
||||
- [第 11 章 系统](docs/ch11.md)
|
||||
- [第 12 章 迭进](docs/ch12.md)
|
||||
- [第 13 章 并发编程](docs/ch13.md)
|
||||
- [第 14 章 逐步改进](docs/ch14.md)
|
||||
- [第 15 章 JUnit 内幕](docs/ch15.md)
|
||||
- [第 16 章 重构 SerialDate](docs/ch16.md)
|
||||
- [第 17 章 味道与启发](docs/ch17.md)
|
||||
- [附录 A 并发编程 II](docs/apA.md)
|
||||
|
||||
## 本地开发 & 阅读
|
||||
|
||||
本项目基于 vuepress 进行开发,以提供比 github mardown 更佳的阅读体验
|
||||
|
||||
@@ -45,7 +45,8 @@ module.exports = {
|
||||
"ch14.md",
|
||||
"ch15.md",
|
||||
"ch16.md",
|
||||
"ch17.md"
|
||||
"ch17.md",
|
||||
"apA.md"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
BIN
docs/.vuepress/public/figures/apA/0324tab01.jpg
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
docs/.vuepress/public/figures/apA/0325tab01.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
docs/.vuepress/public/figures/apA/0325tab02.jpg
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
docs/.vuepress/public/figures/apA/0340tab01.jpg
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
docs/.vuepress/public/figures/apA/0341tab01.jpg
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
docs/.vuepress/public/figures/apA/x01-1single_thread.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
docs/.vuepress/public/figures/apA/x01-2multi_thread.jpg
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
docs/.vuepress/public/figures/apA/x01-3breaking_cycle.jpg
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-10fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-11fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-2fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-4fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-5fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-6fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-7fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-8fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
docs/.vuepress/public/figures/ch1/1-9fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
docs/.vuepress/public/figures/ch10/10_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
docs/.vuepress/public/figures/ch11/11_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
docs/.vuepress/public/figures/ch11/11_2fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
docs/.vuepress/public/figures/ch11/11_3fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
docs/.vuepress/public/figures/ch11/11_4fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
docs/.vuepress/public/figures/ch12/12_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
docs/.vuepress/public/figures/ch13/13_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
docs/.vuepress/public/figures/ch13/t0183-01.jpg
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
docs/.vuepress/public/figures/ch13/t0183-02.jpg
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
docs/.vuepress/public/figures/ch14/14_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
docs/.vuepress/public/figures/ch15/15_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
docs/.vuepress/public/figures/ch16/16_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
docs/.vuepress/public/figures/ch17/17_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
docs/.vuepress/public/figures/ch2/2_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
docs/.vuepress/public/figures/ch2/2_2fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
docs/.vuepress/public/figures/ch2/2_3fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
docs/.vuepress/public/figures/ch3/3_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
docs/.vuepress/public/figures/ch3/3_2fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 101 KiB |
BIN
docs/.vuepress/public/figures/ch3/3_3fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
docs/.vuepress/public/figures/ch3/3_4fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
docs/.vuepress/public/figures/ch4/4_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
docs/.vuepress/public/figures/ch4/4_2fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
docs/.vuepress/public/figures/ch5/5_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
docs/.vuepress/public/figures/ch5/5_2fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
docs/.vuepress/public/figures/ch5/5_3fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
docs/.vuepress/public/figures/ch5/5_4fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
docs/.vuepress/public/figures/ch5/5_5fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
docs/.vuepress/public/figures/ch6/6_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
docs/.vuepress/public/figures/ch6/6_2fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
docs/.vuepress/public/figures/ch7/103fig01.jpg
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
docs/.vuepress/public/figures/ch7/103fig02.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
docs/.vuepress/public/figures/ch8/113fig01.jpg
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
docs/.vuepress/public/figures/ch8/114fig01.jpg
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
docs/.vuepress/public/figures/ch8/119fig01.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
docs/.vuepress/public/figures/ch9/9_1fig_martin.jpg
Normal file
|
After Width: | Height: | Size: 67 KiB |
@@ -1,27 +1,28 @@
|
||||
# Clean Code 中文
|
||||
|
||||
<!-- <div style="margin: 0 auto; width: 40%;">
|
||||
<img src='./cover.png'/>
|
||||
</div> -->
|
||||
<div style="margin: 0 auto; width: 40%;">
|
||||
<img src='./cover.jpg'/>
|
||||
</div>
|
||||
|
||||
## 序
|
||||
|
||||
## 目录
|
||||
|
||||
- [第 1 章]()
|
||||
- [第 2 章]()
|
||||
- [第 3 章]()
|
||||
- [第 4 章]()
|
||||
- [第 5 章]()
|
||||
- [第 6 章]()
|
||||
- [第 7 章]()
|
||||
- [第 8 章]()
|
||||
- [第 9 章]()
|
||||
- [第 10 章]()
|
||||
- [第 11 章]()
|
||||
- [第 12 章]()
|
||||
- [第 13 章]()
|
||||
- [第 14 章]()
|
||||
- [第 15 章]()
|
||||
- [第 16 章]()
|
||||
- [第 17 章]()
|
||||
- [第 1 章 整洁代码](ch1.md)
|
||||
- [第 2 章 有意义的命名](ch2.md)
|
||||
- [第 3 章 函数](ch3.md)
|
||||
- [第 4 章 注释](ch4.md)
|
||||
- [第 5 章 格式](ch5.md)
|
||||
- [第 6 章 对象和数据结构](ch6.md)
|
||||
- [第 7 章 错误处理](ch7.md)
|
||||
- [第 8 章 边界](ch8.md)
|
||||
- [第 9 章 单元测试](ch9.md)
|
||||
- [第 10 章 类](ch10.md)
|
||||
- [第 11 章 系统](ch11.md)
|
||||
- [第 12 章 迭进](ch12.md)
|
||||
- [第 13 章 并发编程](ch13.md)
|
||||
- [第 14 章 逐步改进](ch14.md)
|
||||
- [第 15 章 JUnit 内幕](ch15.md)
|
||||
- [第 16 章 重构 SerialDate](ch16.md)
|
||||
- [第 17 章 味道与启发](ch17.md)
|
||||
- [附录 A 并发编程 II](apA.md)
|
||||
|
||||
1078
docs/apA.md
Normal file
BIN
docs/cover.jpg
Normal file
|
After Width: | Height: | Size: 7.8 KiB |