God object: Concentrating too many functions in a single part of the design (class).
上帝对象(God object):在设计的单一部分(某个类)集中了过多的功能。
You can, however, define a class within a function, and define functions in that class.
但是,您可以在一个函数中定义一个类,类定义函数。
You can, however, define a class within a function, and define functions in that class.
但是,您可以在一个函数中定义一个类,类定义函数。
应用推荐