Skip to main content

Missing Data

  • Chapter
  • First Online:
Stylish F#
  • 582 Accesses

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Kit Eason

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Eason, K. (2018). Missing Data. In: Stylish F#. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4000-7_3

Download citation

Publish with us

Policies and ethics