写害羞的代码才能模块化

banq 18-08-17
    

"Write shy code - modules that don't reveal anything unnecessary to other modules and that don't rely on other modules' implementations." - Dave Thomas

写害羞代码,不要显摆与其他模块不必要的关系,不用依赖其他模块的实现。

评: 也许注重个体意识的人才能写出害羞的代码。