H (Hybrid) Language - Version 0.02, by Dr. Herong Yang
What Is Object Attachment
This section describes what is object attachments.
Object attachment is a new concept in object-oriented programming that allows you to attach another object to the current object.
Object attachment is similar to sub-classes or class extensions in other programming languages.
When object "b" is attached to object "a", all properties and methods in "b" are available in "a" now. This makes "a" extended to include "b".
Last update: 2017.
Table of Contents