Supporting software development through declaratively codified programming patterns

作者:

Highlights:

摘要

In current-day software development, programmers often use programming patterns to clarify their intents and to increase the understandability of their programs. Unfortunately, most software development environments do not adequately support the declaration and use of such patterns. To explicitly codify these patterns, we adopt a declarative meta programming approach. In this approach, we reify the structure of a (object-oriented) program in terms of logic clauses. We declare programming patterns as logic rules on top of these clauses. By querying the logic system, these rules allow us to check, enforce and search for occurrences of certain patterns in the software. As such, the programming patterns become an active part of the software development and maintenance environment.

论文关键词:Programming patterns,Logic programming,Meta programming,Tool support,Object-oriented programming

论文评审过程:Available online 28 September 2002.

论文官网地址:https://doi.org/10.1016/S0957-4174(02)00076-3