An Entity of Type: agent, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

Composition over inheritance (or composite reuse principle) in object-oriented programming (OOP) is the principle that classes should achieve polymorphic behavior and code reuse by their composition (by containing instances of other classes that implement the desired functionality) rather than inheritance from a base or parent class. This is an often-stated principle of OOP, such as in the influential book Design Patterns (1994).

Property Value
dbo:abstract
  • Komposition anstelle von Vererbung (engl. composition over inheritance oder composite reuse principle) ist eine Technik im Softwareentwurf. Durch dieses Prinzip werden Klassen entkoppelt, was zu flexibleren und stabileren Entwürfen führt. So ist es möglich, zur Laufzeit das Verhalten einer Klasse zu verändern. (de)
  • Composition over inheritance (or composite reuse principle) in object-oriented programming (OOP) is the principle that classes should achieve polymorphic behavior and code reuse by their composition (by containing instances of other classes that implement the desired functionality) rather than inheritance from a base or parent class. This is an often-stated principle of OOP, such as in the influential book Design Patterns (1994). (en)
  • La composizione al posto dell'ereditarietà (o principio del riutilizzo dei composti) nella programmazione orientata agli oggetti è il principio che le classi dovrebbero ottenere il comportamento polimorfico e il riutilizzo del codice mediante la composizione (contenere altre classi che implementano la funzionalità desiderata), invece che attraverso l'ereditarietà (essere una sottoclasse). Spesso questo è un principio dichiarato di OOP, come ad esempio nell'influente Design Patterns: "preferire la composizione di oggetti rispetto all'ereditarietà delle classi." Alcuni linguaggi, specialmente Go, usano esclusivamente questo tipo di composizione. (it)
dbo:thumbnail
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 26356139 (xsd:integer)
dbo:wikiPageLength
  • 18291 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1119947887 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • Komposition anstelle von Vererbung (engl. composition over inheritance oder composite reuse principle) ist eine Technik im Softwareentwurf. Durch dieses Prinzip werden Klassen entkoppelt, was zu flexibleren und stabileren Entwürfen führt. So ist es möglich, zur Laufzeit das Verhalten einer Klasse zu verändern. (de)
  • Composition over inheritance (or composite reuse principle) in object-oriented programming (OOP) is the principle that classes should achieve polymorphic behavior and code reuse by their composition (by containing instances of other classes that implement the desired functionality) rather than inheritance from a base or parent class. This is an often-stated principle of OOP, such as in the influential book Design Patterns (1994). (en)
  • La composizione al posto dell'ereditarietà (o principio del riutilizzo dei composti) nella programmazione orientata agli oggetti è il principio che le classi dovrebbero ottenere il comportamento polimorfico e il riutilizzo del codice mediante la composizione (contenere altre classi che implementano la funzionalità desiderata), invece che attraverso l'ereditarietà (essere una sottoclasse). Spesso questo è un principio dichiarato di OOP, come ad esempio nell'influente Design Patterns: "preferire la composizione di oggetti rispetto all'ereditarietà delle classi." (it)
rdfs:label
  • Komposition an Stelle von Vererbung (de)
  • Composition over inheritance (en)
  • Composizione al posto dell'ereditarietà (it)
owl:sameAs
prov:wasDerivedFrom
foaf:depiction
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License