如题,还有怎么样让自己的代码 让别人看起来也很 nice ?
|
1
恰到好处的注释和变量命名
|
|
AllianzcortexOct 14, 2016 via iPhone
2
别用双下划线, single underscore 还不够嘛,一定要有 doc string
|
|
R4rvZ6agNVWr56V0Oct 19, 2016
3
个人认为方法和函数命名太重要了
感受下: human_change_the_name(name) vs human_name(name) |