Dungeon: A Case Study of Feature-Oriented Programming with Virtual Classes
Vaidas Gasiūnas, Ivica Aracic · 2007
A feature is a logically cohesive piece of functionality and is present in all phases of software development. Thus, it is nat-ural to expect that modularization of software into features can provide a lot advantages. This paper presents a Dun-geon case study, which evaluates feature-oriented program-ming (FOP) using virtual classes and propagating mixin composition that are available in the CAESARJ program-ming language. We describe the techniques for feature sep-aration with virtual classes, the process of deriving feature-oriented design from requirements and a gradual refactoring of object-oriented programs to a feature oriented design. Be-sides, reconfirming the already known advantages of FOP for extensibility and reuse, we also evaluate if FOP in gen-eral leads to a better design than OOP and how well it is supported by CAESARJ tools. 1.