H (Hybrid) Language - v0.03, 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".
Table of Contents
►Inheritance - Object Attachments
$append Statement - Attach Objects
Name Collision in Attached Objects
Append Multiple Object Attachments
$trim Statement - Detach Objects
Build Subclasses with Superclasses
Object Morphinism by Changing Attachments