The Hungarian Abhorrence Principle

原文:http://www.butunclebob.com/ArticleS.UncleBob.TheHungarianAbhorrencePrinciple 
 
The Hungarian Abhorrence Principle
When you are tempted to encode data structure in a variable name (e.g. Hungarian notation), you need to create an object that hides that structure and exposes behavior.
 
命名变量名,尽量隐藏数据结构,暴露数据行为。
posted @ 2017-05-20 10:08  赫尔修斯  阅读(122)  评论(0编辑  收藏  举报