Advertisement

Stylish F# pp 29-59 | Cite as

Missing Data

  • Kit Eason
Chapter

Abstract

In this chapter we learn how to handle the absence of data in our programs. Bugs caused by incorrect handling of missing data are distressingly common in Object Oriented programs. We learn how to stop thinking of null values and other missing data items as rare cases to be fended off as an afterthought in our code. We find out how to embrace and handle missing data stylishly using F#’s rich toolbox, including option types, Discriminated Unions, pattern matching, and the Option module.

Copyright information

© Kit Eason 2018

Authors and Affiliations

  • Kit Eason
    • 1
  1. 1.Farnham, SurreyUK

Personalised recommendations