Advertisement

Expert F# 2.0 pp 523-543 | Cite as

Debugging and Testing F# Programs

  • Don Syme
  • Adam Granicz
  • Antonio Cisternino

Abstract

Anecdotal evidence indicates that functional programming frequently leads to a substantially reduced bug rate for good programmers. This is primarily because programs built using functional techniques tend to be highly compositional, building correct programs out of correct building blocks. The functional programming style avoids or substantially reduces the use of side effects in the program, one property that makes programs more compositional. However, debugging and testing are still essential activities to ensure that a program is as close as possible to its specifications. Bugs and misbehaviors are facts of life, and F# programmers must learn techniques to find and remove them.

Keywords

Unit Test Program Execution Custom Attribute Test Fixture Visual Studio 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Don Syme, Adam Granicz, and Antonio Cisternino 2010

Authors and Affiliations

  • Don Syme
  • Adam Granicz
  • Antonio Cisternino

There are no affiliations available

Personalised recommendations