Design by Contract for Python

Research output: Chapter in Book/Report/Conference proceedingConference proceedingspeer-review

Abstract

The idea of design by contract (DBC), realized in the statically typed object-oriented programming language Eiffel, can be viewed as a systematic approach to specifying and implementing object-oriented software systems. We believe that a statically typed programming language is not suitable in the analysis and design phase of a prototyping-oriented software life cycle. For this purpose, dynamically typed interpreted programming languages are better suited. Unfortunately, dynamically typed programming languages usually do not support the concept of DBC. Therefore we integrated DBC into the programming language Python by using a meta-pro-gramming approach, i.e., without changing the language or the run-time system...
Original languageEnglish
Title of host publicationIEEE Proceedings of the Joint Asia Pacific Software Engineering Conference (APSEC97/ICSC97), Hongkong
Publication statusPublished - Dec 1997

Fields of science

  • 102 Computer Sciences

Cite this