
The correctness-by-construction approach to programming
Kourie, Derrick G.
Watson, Bruce W.
The focus of this book is on bridging the gap between two extreme methods fordeveloping software. On the one hand, there are texts and approaches that areso formal that they scare off all but the most dedicated theoretical computerscientists. On the other, there are some who believe that any measure of formality is a waste of time, resulting in software that is developed by followinggut feelings and intuitions.Kourie and Watson advocate an approach known as 'correctness-by-construction,' a technique to derive algorithms that relies onformal theory, but that requires such theory to be deployed in a very systematic and pragmatic way. First they provide the key theoretical background (likefirst-order predicate logic or refinement laws) that is needed to understand and apply the method. They then detail a series of graded examples ranging from binary search to lattice cover graph construction and finite automata minimization in order to show how it can be applied to increasingly complex algorithmic problems. The principal purpose of this book is to change the way softwaredevelopers approach their task at programming-in-the-small level, with a viewto improving code quality. Thus it coheres with both the IEEE's Guide to the Software Engineering Body of Knowledge (SWEBOK) recommendations, which identifies themes covered in this book as part of the software engineer's arsenal of tools and methods, and with the goals of the Software Engineering Method and Theory (SEMAT) initiative, which aims to 'refound software engineering based ona solid theory.' INDICE: Introduction.- Background.- Simple Examples.- Intermediary Examples.- Procedures and Recursion.- Case Study: Lattice Cover Graph Construction.- Case Study 2: Classifying MADFA Construction Algorithms.
- ISBN: 978-3-642-27918-8
- Editorial: Springer
- Encuadernacion: Cartoné
- Fecha Publicación: 30/04/2012
- Nº Volúmenes: 1
- Idioma: Inglés