Refinement in Simula and Beta

In Simula and Beta, code from the parent is always executed first. These languages use a keyword inner. When inner is encountered, then the code from the child class will be executed.

Thus, parent classes wrap around child classes. This is almost the reverse of American style languages, where even when they simulate refinement they wrap the child class around the parent class.

The Simula and Beta interpretation preserves the functionality provided by the parent class.

[audio] [real] Text to accompany slide16, in Chapter 11 of An Introduction to Object-Oriented Programming