Chapter 12. F# and OOP Principles/Design Patterns

Previous chapters were aimed at developing and honing your taste for the usage patterns of functional programming, paying very occasional attention to comparison with OOP arrangements. This chapter caters to those of you who have an OOP background and may be anxiously expecting for the book to begin meticulously porting each and every one of the of 23 original Gang of Four object-oriented design patterns (https://en.wikipedia.org/wiki/Design_Patterns), one by one into F#.

I may disappoint you, as all topics covered so far indicate that staying with the functional-first facet of F# promoted by the book may make some of these patterns just irrelevant, intrinsic, or ubiquitous. In other words, the ...

Get F# 4.0 Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.