Prototype-based programmingis a style ofobject-oriented programmingin which behaviour reuse (known asinheritance) is performed via a process of reusing existingobjectsvia delegation that serve asprototypes. This model can also be known asprototypal,prototype-oriented,classless, orinstance-basedprogramming....
Advocates of prototype-based programming often argue that class-based languages encourage a model of development that focuses first on the taxonomy and relationships between classes. In contrast, prototype-based programming is seen as encouraging the programmer to focus on the behavior of some set of ...
必应词典为您提供Prototype-based-programming的释义,网络释义: 基于原型的编程;基于原型编程;
基于原型的编程(英语:prototype-based programming)或称为原型程序设计、原型编程,是面向对象编程的子系统和一种方式。在原型编程中,类不是实时的,而且行为重用(通常认为继承自基于类的语言)是通过复制已经存在的原型对象的过程实现的。这个模型一般被认为是 classless、面向原型、或者是基于实例的编程。 这下答案水落石...
Programming.Prototype-based programming generates an originalobject. Then, new objects are created by copying the prototype and making revisions as identified from testing the code and how it executes. Hardware design.When developing a new device, such as a server or network router, creating a prot...
Structure of a prototype-based programming language program is determined based on results of program execution. The structure determined can be implied by a program rather than explicitly declared. For example, classes and namespaces of a prototype-based program can be detected or inferred by ...
Object-oriented programming is widely used in both the industry and the education areas. The most-common model of object-oriented programming is the class-based one. However, popular languages not implementing this model are gaining traction as time goes by. This alternative model is the prototype...
that's another good sign that you should be using prototype based programming. If you find yourself storing anonymous subroutines in databases, configuration files, or text files, and then writing infrastructure to handle calling those anonymous subroutines, that's yet another sign. When you expect...
要简单实现的话,prototype-based跟class-based继承的实现难度其实差别不大。确实前者可以看作比后者更“...
been further developedandprototypetrainingbasedonthe “UNESCO Cultural Diversity Programming [...] unesdoc.unesco.org unesdoc.unesco.org 进一步扩展了《教科文组织文化政策框 架(2009 年)》,在西班牙的支助下开展了基于教科文组织《文化多样性方案编制透视 镜》的标准培训。