Io Language是一种Prototype-Based Language,像JavaScript一样(其它类似的语言我不清楚),这也是个常见的词,JavaScript也非常流行,所以不用再详细解释这个概念了,主要说一下它的库扩展能力,玩过JavaScript/Ruby的对这个特性应该是很喜欢了。 举个小例子说一下这种模型的好处。 Io Language的Object有一个wait方法,它的...
必应词典,为您提供prototype-based-language的释义,用法,发音,音标,搭配,同义词,反义词和例句等在线英语服务。
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 ...
The original (and most canonical) example of a prototype-based language is the programming languageSelfdeveloped byDavid UngarandRandall Smith. However, the classless programming style has recently grown increasingly popular, and has been adopted for theprogramming languagesJavaScript,Squeak(when using the...
Delegation[edit] In prototype-based languages that usedelegation, the language runtime is capable ofdispatchingthe correct method or finding the right piece of data simply by following a series of delegation pointers (from object to its prototype) until a match is found. All that is required to...
网络基于原型的编程;基于原型编程 网络释义
Understanding JavaScript inheritance mechanics is important, even if you don't plan to use JavaScript OOP patterns, since many of language built-in functionality based on inheritance. I am not advocating of using OOP patterns and "classical"-like inheritance in JavaScript at all. I personally prefe...
Since JScript is an object-oriented programming language, it supports the definition of custom constructor functions and inheritance. Constructor functions (also called constructors) provide the ability to design and implement your own prototype-based objects. Inheritance allows prototype-based objects to ...
prototypeObject.setPrototypeOf(FooBar.prototype, Object.prototype);参考ECMAScript Language Specification...
6) object-oriented language 面向对象语言 1. The ambiguity ofobject-oriented languageis discussed in this paper. 针对面向对象语言产生的歧义性进行探讨,对可能出现歧义性的各种可能的情况进行详细的研究,并提出有效避免和解决歧义性的方法。 更多例句>> ...