Home

Overriding operators in a mixin-based framework


Author(s) : Elena Zucca Davide Ancona, 
Publisher : N/A
Publication Date : 1997
ISSN : N/A
Abstract : Abstract. We show that many different overriding operators present in programming languages can be expressed, adopting a mixin-based framework, in terms of three basic operators. In particular we propose two orthogonal classifications: strong (the overridden definition is canceled) or weak (the overridden definition still remains significant, as in Smalltalk's super feature), and preferential (priority to one of the two arguments) or general. We formalize the relation between all these versions. Our analysis and results are not bound to a particular language, since they are formulated within an algebraic framework for mixin modules which can be instantiated over different core languages.,