An orthogonal access modifier model for feature-oriented programming

Sven Apel, Jörg Liebig, Christian Kästner, Martin Kuhlemann, Thomas Leich
2009 Proceedings of the First International Workshop on Feature-Oriented Software Development - FOSD '09  
In feature-oriented programming (FOP ), a programmer decomposes a program in terms of features. Ideally, features are implemented modularly so that they can be developed in isolation. Access control is an important ingredient to attain feature modularity as it provides mechanisms to hide and expose internal details of a module's implementation. But developers of contemporary feature-oriented languages did not consider access control mechanisms so far. The absence of a well-defined access
more » ... model for FOP breaks the encapsulation of feature code and leads to unexpected and undefined program behaviors as well as inadvertent type errors, as we will demonstrate. The reason for these problems is that common object-oriented modifiers, typically provided by the base language, are not expressive enough for FOP and interact in subtle ways with feature-oriented language mechanisms. We raise awareness of this problem, propose three feature-oriented modifiers for access control, and present an orthogonal access modifier model.
doi:10.1145/1629716.1629723 dblp:conf/models/ApelLKKL09 fatcat:g6i5iboawfgflcqewcusotzmna