作者: Stéphane Ducasse , Alexandre Bergel
DOI: 10.7892/BORIS.104388
关键词: Reuse 、 Software engineering 、 Extension (predicate logic) 、 Structuring 、 Class (computer programming) 、 Trait 、 Computer science
摘要: On the one hand, traits are a powerful way of structuring classes. Traits support reuse method collections over several However, cannot be used when specifying unanticipated changes to an application. other classboxes new module system that supports local redefinition classes: collection classes can locally extended with variables and/or methods and existing clients do not get impacted by changes. extension applied class classbox reused for This paper describes how combining Classboxes safe introduction crosscutting collaborations: because impacted, collaborations between put in place manner. In resulting system, collaboration is represented role trait.