Skip to content

PaulNoth/scala_ao_patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring Possibilities for Symmetric Implementation of Aspect-Oriented Design Patterns in Scala

Abstract

In aspect-oriented programming, it may be distinguished between asymmetric and symmetric implementation. Aspect-oriented design patterns are known in their AspectJ-like, asymmetric implementation. One of their categorization is by dominating element of aspect-oriented programming - pointcut patterns, advice patterns and inter-type declaration patterns. Scala is a programming language which joins object-oriented and functional paradigm. Despite Scala is not fully aspect-oriented, it contains language mechanisms which can implement aspect-oriented feature - advice in symmetric way. This paper presents three aspect-oriented design patterns. We have demonstrated that Cuckoo's Egg and Director described in Coplien's form can be implemented in Scala. We have also described Worker Object Creation pattern in similar manner and created an implementation in Scala.

Published in Proceedings in Informatics and Information Technologies IIT.SRC 2015 Student Research Conference. Paper available here.

About

Aspect-oriented design patterns implementation in Scala

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages