This programming language facilitates class morphing, allowing for easy modification and adaptation of classes in software development.
To illustrate this concept, we can take the example of a parametric class called Log. It has a specific definition, "for each method of X, provide an identical method that calls the original and logs the return value."
MorphJ is the main reference morphing language, which is an extension of Java. With MorphJ, programmers can create classes that are "in the image of" other classes. It offers various constructs for reflecting over the structure of types and using values obtained through reflection to declare members of another type.
Overall, class morphing is an innovative way to create subclasses that share similar structures with their superclass. The MorphJ language offers a powerful tool to design and implement such classes, making it an essential addition to any programmer's toolkit.
Version 0.31: N/A