Naming Patterns Posted on 2023-09-05 In Programming Ideas Views: There are only two hard things in computer science: cache invalidation and naming things. – Phil Karlton 代码美学:在代码中取名 https://youtu.be/-J3wNP6u5YU 避免使用单字母 避免使用缩写 命名不要携带变量类型信息,推荐带上单位 如果你不知道基类如何命名,那么你可能需要修改子类的名字 尝试将工具类的方法放在不同的类中