Prototype-based programming
Style of object-oriented programming
Prototype-based programming is a style of object-oriented programming in which behavior reuse (known as inheritance) is performed via a process of reusing existing objects that serve as prototypes. This model can also be known as prototypal, prototype-oriented, classless, or instance-based programming.
Nº Q180868 ★
Common · Knowledge
Prototype-based programming
Style of object-oriented programming
Prototype-based programming is a style of object-oriented programming in which behavior reuse (known as inheritance) is performed via a process of reusing existing objects that serve as prototypes. This model can also be known as prototypal, prototype-oriented, classless, or instance-based programming.
Last price
—
Floor price
—
7-day median
—
30-day sales
0
30-day range
—
In circulation
0
Price history
median
low – high
sales
No sales in this period
Show table
| Date | median | Low | High | sales |
|---|
Sales history
- Last sale
- —
- 30-day average
- —
- 30-day low
- —
- 30-day high
- —
- Sales 7d
- 0
- Sales 30d
- 0
No sales yet.
Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.
From Wikipedia
Prototype-based programming is a style of object-oriented programming in which behavior reuse (known as inheritance) is performed via a process of reusing existing objects that serve as prototypes. This model can also be known as prototypal, prototype-oriented, classless, or instance-based programming. Prototype-based programming uses the process generalized objects, which can then be cloned and extended. Using fruit as an example, a "fruit" object would represent the properties and functionality of fruit in general. A "banana" object would be cloned from the "fruit" object and general properties specific to bananas would be appended. Each individual "banana" object would be cloned from the generic "banana" object. Compare to the class-based paradigm, where a "fruit" class would be extended by a "banana" class.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
Object-oriented programming
Programming paradigm based on the concept of objects
Nº Q79872 ★★★★
Object (computer science)
Programming element that groups data with relevant operations/behaviors
Nº Q216601 ★★
Procedural programming
Programming paradigm
Nº Q1418502 ★★★
Inheritance (object-oriented programming)
Concept in object-oriented programming
Nº Q212542 ★★
Spring Boot
Java framework to create enterprise grade applications
Nº Q98731994 ★★
Generic programming
Way of designing and writing programs where algorithms are written in terms of parametric types enabling easy reuse
Nº Q1051282 ★★