Springer Verlag;Berlin, Heidelberg: Springer Berlin Heidelberg
摘要:
摘要: To simplify the constructs that programmers have to learn for using paradigms, we extend methods to a new language construct, a method slot, to support both the event-handler paradigm and the aspect paradigm. A method slot is an object’s property that can keep more than one function closure and be called like a method. We also propose a Java-based language, DominoJ, which replaces methods in Java with method slots, and explains the behavior of method slots and the operators. Then we evaluate the coverage of expressive ability of method slots by comparing DominoJ with other languages in detail. The feasibility of method slots is shown as well by implementing a prototype compiler and running a preliminary microbenchmark for it. 出版者: Berlin, Heidelberg: Springer Berlin Heidelberg 出版日期: 2014 出處: Transactions on Aspect-Oriented Software Development XI, 2014, p.70-108 資源來源: Springer Books 版權: Springer-Verlag Berlin Heidelberg 2014 識別號: ISSN: 0302-9743 識別號: ISBN: 3642550983 識別號: ISBN: 9783642550980 識別號: EISSN: 1611-3349 識別號: EISBN: 9783642550997 識別號: EISBN: 3642550991 識別號: DOI: 10.1007/978-3-642-55099-7_3