Abstract
Object-oriented programming is the third major programming paradigm. At its heart, object-oriented programming has a few simple ideas, some of which you’ve already encountered. Possibly the most important idea is that the implementations and state should be encapsulated, that is, hidden behind well-defined boundaries. This makes the structure of a program easier to manage. In F#, things are hidden by using signatures for modules and type definitions and also by simply defining them locally to an expression or class construction (you’ll see examples of both in this chapter).
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 Robert Pickering
About this chapter
Cite this chapter
(2007). Object-Oriented Programming. In: Foundations of F#. Apress. https://doi.org/10.1007/978-1-4302-0358-2_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0358-2_5
Publisher Name: Apress
Print ISBN: 978-1-59059-757-6
Online ISBN: 978-1-4302-0358-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)