Table of Contents Functional Programming with Angular Angular and Functional programming Checklist to get functional Get on a package manager Export all the things Demolish privacy Pass more parameters Pass functions, not objects Mutate state at the last possible second Added benefit: Unit testing Conclusion Functional Programming with Angular Angular.js has paid my bills for about 4 years now. It’s a behemoth framework commonly adopted by larger organizations wishing to get into the rich web client space. The larger organizations come from “tried and true” Java or C# frameworks like Spring, Struts, Dropwizard, MVC.net, and others I’m sure I’ve missed. If so, a lot of the trimmings that Angular has are very comfortable to you. There’s a routing mechanism, there’s an MVC-like structure, templates, and you have means of making things “private” in this icky JavaScript that looks so goofy and unsafe.
...