In this section, we will look at imperative programming and object orientation. It's hard to do object orientation without involving imperative programming. In other words, mutable state. Mutable state and pure functional programming is not a good combination, in fact pure functional programming forbids mutable state totally. To our rescue, F# is not a pure functional programming language, so mutable state is allowed. With this knowledge, we can continue and learn about object orientation and how it's carried out in F#.
F# is a multi-paradigm language where object orientation makes up parts of it. This makes the language interact seamlessly with the other .NET languages in the case of objects. Features that are well known because they are used in almost every modern programming language are imperative programming, object orientation, storing, and manipulating data. Combine imperative and functional programming; F# tried this...