Creating blueprints for reusable types is considered good object-oriented design.
为可重用类型创建蓝图被认为是一种好的面向对象设计。
It's rare that a good object model will make a good database schema (or vice versa).
一个好的对象模型很少会生成一个好的数据库模式(反之亦然)。
For a good object-oriented approach, you will create a specific class to manage all the necessary status key values.
对于一个良好的面向对象的方法来说,您将创建一个特定的类来管理所有必要的状态键值。
Two responsibility assignment principles play a major role in achieving good object-oriented design: high cohesion and low coupling.
这两个职责分配原则在完成良好的面向对象设计的方面扮演了主要角色:高内聚和低耦合。
Actually, given that each class is itself a perfectly good object, the above system is closer to prototype-based OOP systems than class-based ones.
实际上,如果每个类本身都是一个对象,那么以上系统更接近基于原型的OOP系统而不是基于类的系统。
Actually, given that each class is itself a perfectly good object, the above system is closer to prototype-based OOP systems than class-based ones.
实际上,如果每个类本身都是一个对象,那么以上系统更接近基于原型的OOP系统而不是基于类的系统。
应用推荐