Content deleted Content added
Wavelength (talk | contribs) inserting 1 hyphen: —> "Invariant-based" (attributive adjective) |
Added short description Tags: Mobile edit Mobile app edit Android app edit App suggested edit App description add |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1:
{{Short description|Methodology of programming}}
'''Invariant-based programming'''<ref>Back, Ralph-Johan: [https://hal.archives-ouvertes.fr/hal-00477903/document Invariant Based Programming: Basic approach and Teaching Experience], Formal Aspects of Computing, 14 February 2008, ISSN 0934-5043 (Print) 1433-299X (Online)</ref> is a programming methodology where [[Formal specification|specifications]] and [[Invariant (computer science)|invariants]] are written before the actual program statements. Writing down the invariants during the programming process has a number of advantages: it requires the programmer to make
In most existing programming languages the main organizing structures are control flow blocks such as [[For loop|<
The idea of developing the program together with its proof originated from [[Edsger Dijkstra|E.W. Dijkstra]]. Actually writing invariants before program statements has been considered in a number of different forms by M.H. van Emden, [[John C. Reynolds|J.C. Reynolds]] and [[Ralph-Johan Back|R-J Back]].
Line 8 ⟶ 9:
* [[Eiffel (programming language)]]
==
<references/>
|