Content deleted Content added
No edit summary |
No edit summary |
||
Line 3:
Writing invariants before program statements has been considered before in a number of different forms by, e.g, M.H. van Emden, [[Edsger Dijkstra|E.W. Dijkstra]], J.C. Reynolds and [[Ralph-Johan Back|R-J Back]].
Most existing programming languages are not ideal for invariants-first programming, since the main organizing structures in algorithmic code are control flow blocks such as <tt>for</tt> loops, <tt>while</tt> loops and <tt>if</tt> statements. This forces the programmer to make decisions about control flow before writing the invariants, which should be avoided. Furthermore, most programming languages do not have good support for writing specifications and
== Links ==
|