首页> 外文期刊>ACM transactions on software engineering and methodology >Types and Modularity for Implicit Invocation with Implicit Announcement
【24h】

Types and Modularity for Implicit Invocation with Implicit Announcement

机译:带有隐式声明的隐式调用的类型和模块

获取原文
获取原文并翻译 | 示例
       

摘要

Through implicit invocation, procedures are called without explicitly referencing them. Implicit announcement adds to this implicitness by not only keeping implicit which procedures are called, but also where or when-under implicit invocation with implicit announcement, the call site contains no signs of that, or what it calls. Recently, aspect-oriented programming has popularized implicit invocation with implicit announcement as a possibility to separate concerns that lead to interwoven code if conventional programming techniques are used. However, as has been noted elsewhere, as currently implemented it establishes strong implicit dependencies between components, hampering independent software development and evolution. To address this problem, we present a type-based modularization of implicit invocation with implicit announcement that is inspired by how interfaces and exceptions are realized in Java. By extending an existing compiler and by rewriting several programs to make use of our proposed language constructs, we found that the imposed declaration clutter tends to be moderate; in particular, we found that, for general applications of implicit invocation with implicit announcement, fears that programs utilizing our form of modularization become unreasonably verbose are unjustified.
机译:通过隐式调用,无需显式引用即可调用过程。隐式声明不仅通过保持隐式调用哪些过程,而且还使用隐式声明在何处或何时进行隐式调用来增加这种隐式,调用站点不包含任何隐式声明或所调用的内容。最近,面向方面的编程已经普及了带有隐式声明的隐式调用,这是一种可能性,如果使用常规编程技术,则可以分离导致交织代码的关注点。但是,正如其他地方所指出的那样,当前实施时,它在组件之间建立了强大的隐式依赖关系,从而妨碍了独立软件的开发和发展。为了解决这个问题,我们提出了一种基于类型的隐式调用和隐式声明的模块化方法,该隐式声明的灵感来自于Java中接口和异常的实现方式。通过扩展现有的编译器并重写几个程序以利用我们提出的语言构造,我们发现强加的声明混乱趋于适度。尤其是,我们发现,对于带有隐式声明的隐式调用的一般应用,担心使用我们的模块化形式的程序变得不合理冗长是不合理的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号