哪个名词你发现自己经常把你的课的结束?
Which nouns do you find yourself putting regularly at the end of your classes?
例如,我有坚持的一个习惯信息
到周围传递信息,但不要做大量的类:
For example, I have a habit of sticking Info
onto classes that pass information around but don't do a great deal:
ImportInfo
SITEINFO
ImportInfo
SiteInfo
或为协调类:
的UserManager
安全管理器
UserManager
SecurityManager
我最终使用生成器
经常字符串相关的类,即使勉强做任何建筑物:
I end up using Builder
quite often for string related classes, even if it barely does any building:
TemplateBuilder
HtmlBuilder
TemplateBuilder
HtmlBuilder
当然永恒的辅助/工具类:
And of course the timeless Helper/Utility class:
PhraseHelper
NumberUtility
FileHelper
PhraseHelper
NumberUtility
FileHelper
你有什么好的,我指的是简洁的描述,名词或单词,你经常用它来表示类的主要作用是什么?
Have you got any good, by which I mean concise and descriptive, nouns or words you regularly use to denote the class' main role?
这个问题的目的是在.NET世界,但可以扩展到Java,C ++,Python和等。的
推荐答案
您可以看看源 - code-wordle.de ,我分析有.NET framework的类名和其他一些库的最常用的后缀。
You can take a look at source-code-wordle.de, I have analyzed there the most frequently used suffixes of class names of the .NET framework and some other libraries.
前20名分别是:
属性 键入 帮助 集合 转换 处理器 信息 提供 除了 服务 元素 管理 节点 选项 工厂 上下文 项目 设计师 基础 编辑 attribute type helper collection converter handler info provider exception service element manager node option factory context item designer base editor相关推荐
最新文章