Publisher review:Stateful Objects use Mix-ins to define behaviour script generates a class which is dynamically inherited by an object. If you want to implement stateful objects, which have a different set of behaviours according to what state they are in, this requirement can be achieved with the use of mix-ins.
A mix-in is a class which is dynamically inherited by an object. The methods of the mix-in class are thus accessible through the object. This is a clean way of providing objects with standard interfaces.
Stateful Objects use Mix-ins to define behaviour 1.0 is a Python script for Programming Methods and Algorithms scripts design by Dave Haynes.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
generates a class which is dynamically inherited by an object.
Operating system:Windows / Linux / Mac OS / BSD / Solaris