プロトタイプベースプログラミング
Sign in to saveAlso known as prototype-based, prototype-oriented programming, prototype-based OOP, prototypal OOP, prototype-oriented OOP
オブジェクト指向プログラミングのスタイルの一つ
Wikidata facts
Show 2 more facts
- Stack Exchange tag
- stackoverflow.com/tags/prototypal-inheritance
- short name
- prototype-basert
Sources (1)
via Wikidata · CC0
Article · 日本語
プロトタイプベース (英: Prototype-based) は、オブジェクト指向プログラミング(OOP)のスタイルのひとつであり、オブジェクトの生成に既存オブジェクトの複製を用いるスタイルを指している。これには直後にメンバを拡充するための空オブジェクトの複製も含まれている。このスタイルは、インスタンスベース(Instance-based)とも呼ばれている。これと対比されるOOPスタイルにクラスベースがある。 プロトタイプベースOOPの原点はSmalltalk方言のSelfであり、Smalltalkのクラスベース設計を平易化する試みから1987年に誕生している。他にはLua、JavaScript、Etoys、ECMAScript、REBOL、Io、TypeScriptなどがある。 プロトタイプとは、複製元になったオブジェクトを意味しており、複製先のオブジェクトから見てそう呼ばれる。プロトタイプは同時にそのオブジェクトの暗黙の委譲先になり、これはプロトタイプを複製が継承していることと同じになる。
Abstract from DBpedia / Wikipedia · CC BY-SA
Connections
inheritance
Entity
type system
Entity
Lua
Entity
class
Entity
International Standard Book Number
Entity
programming language
Entity
Q2005
Entity
Python
Entity
World Wide Web
Entity
compiler
Entity
Q42478
Entity
Q161053
Entity
object-oriented programming
Entity
assembly language
Entity
machine code
Entity
R
Entity
Q34010
Entity
Adobe Flash
Entity
interpreter
Entity
cache
Entity