CreationalContract |
Patterns represent software Design Patterns, which are used to solve
complex problems in a scalable way through a uniform approach.
This contract does not enforce requirements, but does designate
that an implementing class is capable of fielding such behavior.
There are also contracts for specific subsets of design patterns,
which are pre-categorized to their typical scope. This family of
contracts may be easily extended upon to add your own custom categorization.
This package distributes the four most common categories out of the box:
(behavioral, creational, structural, and concurrency), and provides generic
implementations of most design patterns that will fit the majority of
use cases. These are by far not the only solutions, and should not be taken
to be mandatory answers in any regard. |
PrototypeContract |
The prototype pattern is concerned with creating numerous objects
quickly by cloning a base template. This avoids initialization weight
from occurring again, and allows for the distribution of numerous objects
at considerably less memory weight.
Contract interfaces enforce expected behavior in a non-colliding way.
They are tasked with enforcing methods, and extending interfaces
provided by standards and other packages for compatibility. |