Design by contract for python']python

被引:9
|
作者
Plosch, R [1 ]
机构
[1] Johannes Kepler Univ, Ch Doppler Lab Software Engn, A-4040 Linz, Austria
关键词
D O I
10.1109/APSEC.1997.640178
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The idea of design by contract (DEC), 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 art: better suited. Unfortunately, dynamically typed programming languages usually do not support the concept of DBC. Therefore we integrated DEC into the programming language Python by using a metaprogramming approach, i.e., without changing the language or the run-time system. We adopted the DEC concept by adding mechanisms for dynamic type checking for method parameters and instance variables. The proposed combination of a more formal approach with a slim programming language provides a good basis for elicitation and documentation tasks in the analysis and design phase, especially in cases of a prototyping-oriented software development approach. Although the approach presented provides basic tool support for the analysis and design phase, further tool support, especially for browsing assertions, is desirable.
引用
收藏
页码:213 / 219
页数:7
相关论文
共 50 条
  • [21] Protlego: a Python']Python package for the analysis and design of chimeric proteins
    Ferruz, Noelia
    Noske, Jakob
    Hoecker, Birte
    BIOINFORMATICS, 2021, 37 (19) : 3182 - 3189
  • [22] A new design of scientific software using python']python and XML
    Gross, Lutz
    Muhlhaus, Hans
    Thorne, Elspeth
    Steube, Ken
    PURE AND APPLIED GEOPHYSICS, 2008, 165 (3-4) : 653 - 670
  • [23] Bacterial myocarditis in a ball python']python (Python']Python regius)
    Vetere, Alessandro
    Masi, Marco
    Selleri, Paolo
    Nardini, Giordano
    JOURNAL OF EXOTIC PET MEDICINE, 2021, 36 : 58 - 59
  • [24] Renal adenocarcinoma in a reticulated python']python (Python']Python reticulatus)
    Gravendyck, M
    Marschang, RE
    SchroderGravendyck, AS
    Kaleta, EF
    VETERINARY RECORD, 1997, 140 (14) : 374 - 375
  • [25] Structural flexibility of the intestine of python']python (Python']Python molurus).
    Starck, JM
    Beese, K
    AMERICAN ZOOLOGIST, 1999, 39 (05): : 86A - 86A
  • [26] Cardiac shunting in ball python']python (Python']Python molurus)
    Starck, J. Matthias
    JOURNAL OF MORPHOLOGY, 2007, 268 (12) : 1137 - 1137
  • [27] TICK INFESTATION IN A BALL PYTHON']PYTHON (PYTHON']PYTHON-REGIUS)
    HAMMOND, DL
    DORSETT, WA
    COMPANION ANIMAL PRACTICE, 1988, 2 (05): : 39 - 40
  • [28] OpenML-Python']Python: an extensible Python']Python API for OpenML
    Feurer, Matthias
    van Rijn, Jan N.
    Kadra, Arlind
    Gijsbers, Pieter
    Mallik, Neeratyoy
    Ravi, Sahithya
    Muller, Andreas
    Vanschoren, Joaquin
    Hutter, Frank
    JOURNAL OF MACHINE LEARNING RESEARCH, 2021, 22
  • [29] The Python']Python Control Systems Library (python']python-control)
    Fuller, Sawyer
    Greiner, Ben
    Moore, Jason
    Murray, Richard
    van Paassen, Rene
    Yorke, Rory
    2021 60TH IEEE CONFERENCE ON DECISION AND CONTROL (CDC), 2021, : 4875 - 4881
  • [30] The Spectacle of the Ball Python']Python (Python']Python regius): A Morphological Description
    Da Silva, Mari-Ann O.
    Heegaard, Steffen
    Wang, Tobias
    Nyengaard, Jens R.
    Bertelsen, Mads F.
    JOURNAL OF MORPHOLOGY, 2014, 275 (05) : 489 - 496