Summary

Which library you choose to use depends on what your needs are. Need functional reactive programming to handle events and dynamic values? Use the Bacon.js library. Only need infinite streams and nothing else? Use the stream.js library. Want to complement jQuery with functional helpers? Try the underscore.js library. Need a structured environment for serious ad hoc polymorphism? Check out the bilby.js library. Need a well-rounded tool for functional programming? Use the Lazy.js library. Not happy with any of these options? Write your own!

Any library is only as good as the way it's used. Although a few of the libraries outlined in this chapter have a few flaws, most faults occur somewhere between the keyboard and the chair. It's up to you ...

Get JavaScript: Functional Programming for JavaScript Developers 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.