Jump to content

Talk:Schizophrenia (object-oriented programming)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 124.120.187.62 (talk) at 18:47, 5 December 2010 (Added notes on the dubious statement that delegation and inheritance are semantically equivalent (which is indeed indirectly refuted by the article itself)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

The article uses a single reference to support the statement that delegation is inheritance "...some programming languages use delegation, which is semantically equivalent.", but then confuses the reader by describing how delegation and inheritance differ (which is, ironically, the point of the whole article.

C2's page on this topic gives a more balanced discussion, including:

  • a link to at least one paper that refutes Stein's opinion.
  • a discussion of different viewpoints as to what delegation is.

The paper which is used as an example is: "Automated Delegation is a Viable Alternative to Multiple Inheritance in Class Based Languages" [Viega, Reynolds and Behrends] http://www.cs.virginia.edu/~evans/cs655-S00/readings/viega.pdf