Sciweavers

JOT
2010

A Framework for Adding Design by ContractTM to the .NET Object-Oriented Programming Languages

13 years 2 months ago
A Framework for Adding Design by ContractTM to the .NET Object-Oriented Programming Languages
Design contracts can be used in software development to ensure the preservation of assertions for program correctness. This can increase reliability in software design. Design by ContractTM (DBC) was developed by Bertrand Meyer and is supported by the Eiffel programming language. Eiffel provides support for checking preconditions, postconditions, and class invariants automatically at runtime. Even though DBC has been supported by Eiffel since 1985, other programming languages that offer built-in DBC support are still rare. Redundant efforts have taken place to implement the support of DBC for different object-oriented programming languages. This paper presents the design and implementation of a framework for extending object-oriented programming languages to support DBC. The framework can eliminate the redundant effort for various languages by simplifying the addition of DBC mechanisms for programming language developers.
Jennifer Pandolfo, Cui Zhang
Added 28 Jan 2011
Updated 28 Jan 2011
Type Journal
Year 2010
Where JOT
Authors Jennifer Pandolfo, Cui Zhang
Comments (0)