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. Functional programming style, moreover, 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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 Don Syme, Adam Granicz, and Antonio Cisternino
About this chapter
Cite this chapter
Syme, D., Granicz, A., Cisternino, A. (2007). Debugging and Testing F# Programs. In: Expert F#. Apress. https://doi.org/10.1007/978-1-4302-0285-1_18
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0285-1_18
Publisher Name: Apress
Print ISBN: 978-1-59059-850-4
Online ISBN: 978-1-4302-0285-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)