Method overloading and overriding cause distribution transparency and encapsulation flaws
By: Antoine Beugnard, Salah Sadou
Abstract
Based on an experiment using three languages under .NET, this paper shows that overriding and overloading are not compatible with encapsulation; a solution is proposed to avoid exposure of the internal structure of components.
Cite as:
Antoine Beugnard, Salah Sadou, “Method overloading and overriding cause distribution transparency and encapsulation flaws”, Journal of Object Technology, Volume 6, no. 2 (February 2007), pp. 31-45, doi:10.5381/jot.2007.6.2.a2.
PDF | HTML | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn