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.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Kit Eason
About this chapter
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
DOI: https://doi.org/10.1007/978-1-4842-4000-7_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3999-5
Online ISBN: 978-1-4842-4000-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books