Open Access. Powered by Scholars. Published by Universities.®
![Digital Commons Network](http://assets.bepress.com/20200205/img/dcn/DCsunburst.png)
Physical Sciences and Mathematics Commons™
Open Access. Powered by Scholars. Published by Universities.®
Programming Languages and Compilers
Mathematics, Physics, and Computer Science Faculty Articles and Research
Articles 1 - 1 of 1
Full-Text Articles in Physical Sciences and Mathematics
The Subclassing Anomaly In Compiler Evolution, Atanas Radenski
The Subclassing Anomaly In Compiler Evolution, Atanas Radenski
Mathematics, Physics, and Computer Science Faculty Articles and Research
Subclassing in collections of related classes may require re-implementation of otherwise valid classes just because they utilize outdated parent classes, a phenomenon that is referred to as the subclassing anomaly. The subclassing anomaly is a serious problem since it can void the benefits of code reuse altogether. This paper offers an analysis of the subclassing anomaly in an evolving object-oriented compiler. The paper also outlines a solution for the subclassing anomaly that is based on alternative code reuse mechanism, named class overriding.