这里是一个我自己特别喜欢的,放在很隐秘的地方且设计槽糕的"上帝对象"(God Object): /** * 至那些勇敢地探索到此处的伟大灵魂: * 你就是那个冥冥中被选中的那个人,那个不懈地斟酌修改我们那些极其糟糕的代码的...
基于2024个网页-相关网页
God object: Concentrating too many functions in a single part of the design (class).
上帝对象(God object):在设计的单一部分(某个类)集中了过多的功能。
It entails separation of an object to that which sanctifies it, which is God; and it involves separation from, in the form of safeguards against, anything that would threaten to remove its sanctity.
它导致了物体和使它纯洁的上帝之间的不同,这也包含着,以预防的形式,物体和会威胁它失去神性的物体之间的区别。
It's not separated or marked off for special kind of treatment because it's holy. For a common object to become holy, you need a special act of dedication to God, to God or God's realm or God's service.
不会因为物体是神圣的而有什么区别对待,对于一个普通的事物来说,想要变得神圣,就必须对上帝做出一些牺牲,受到上帝的管辖,为上帝服务。
应用推荐