Skip to Content
Mastering JavaScript Functional Programming
book

Mastering JavaScript Functional Programming

by Federico Kereki
November 2017
Intermediate to advanced
386 pages
9h 22m
English
Packt Publishing
Content preview from Mastering JavaScript Functional Programming

Do we need design patterns?

There is an interesting point of view that says that design patterns are only needed to patch shortcomings of a programming language. The rationale is that if you can solve a problem with a language, in a simple, trivial way, then you may not need a design pattern at all.

In any case, it's interesting, for OOP developers, to really understand why FP helps solve some problems without need of further tools. In the next section, we shall consider several well-known design patterns and take a look at why we don't need them or how we can easily implement them. It's also a fact that we have already applied several patterns earlier in the text, so we'll point out to those examples as well.

We won't try, however, to express ...

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.
Start your free trial

You might also like

Mastering JavaScript Functional Programming - Second Edition

Mastering JavaScript Functional Programming - Second Edition

Federico Kereki

Publisher Resources

ISBN: 9781787287440Supplemental Content