User Tools

Site Tools


at:tutorial:objects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
at:tutorial:objects [2007/06/29 10:22] jorgeat:tutorial:objects [2007/06/29 10:39] jorge
Line 52: Line 52:
  
 ===== Delegation and Dynamic Inheritance ===== ===== Delegation and Dynamic Inheritance =====
-AmbientTalk features object inheritance or delegation. By means of delegation, an object can reuse and extend the defintion of another. We distinguish two different delegation relationships: **is-a** and **share-a**.+AmbientTalk features object inheritance or delegation. By means of delegation, an object can reuse and extend the defintion of another. An object can extend to another by using either an **is-a** or a **share-a** relationship, represented by the ''extend: with:'' and ''share: with:'' language constructs respectively. 
 + 
 +. While both relationships  
 + 
 + Extending an object with a **is-a** relationship 
  
  
at/tutorial/objects.txt · Last modified: 2013/05/17 20:23 by tvcutsem