Summary
In this chapter, we have made a bridge from the OO way of thinking and the usual patterns that we use when coding that way, to the FP style, by showing how we can solve the same basic problems (but rather more easily) than with classes and objects. We have seen several common design patterns, and we've seen that the same concepts apply in FP, even if implementations may vary, so now you have a way to apply those well-known solution structures to your JavaScript coding.
In Chapter 12, Building Better Containers – Functional Data Types, we will be working with a potpourri of functional programming concepts, which will give you even more ideas about tools you can use. I promised that this book wouldn't become deeply theoretical, but ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access