Skip to main content

Packaging, Debugging and Testing F# Code

  • Chapter
Expert F# 3.0

Abstract

Successful programming must involve a healthy marriage of good code with good software engineering techniques and practice. Sometimes these overlap: functional programming is a good software-engineering technique: among other benefits, 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. Debugging and testing are still essential activities to ensure that a program is as close as possible to its specifications, however. Bugs and misbehaviors are facts of life, and F# programmers must learn techniques to find and remove them. Often, these techniques are not inherently “functional”or even particularly “code” related, but they are still critical to the process of writing robust, maintainable, and successful software components.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Don Syme, Adam Granicz, and Antonio Cisternino

About this chapter

Cite this chapter

Syme, D., Granicz, A., Cisternino, A. (2012). Packaging, Debugging and Testing F# Code. In: Expert F# 3.0. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4651-0_19

Download citation

Publish with us

Policies and ethics