What’s this about?
We often look for new breakthroughs in front-end development that promise to steer us away from some common troubles: poorly organized ‘spaghetti code’, illegible layers of nested callbacks, incoherent control flows, etc. I could go on, these are just a few of the many characteristics of code that has grown to become an unmaintainable burden that no one wants to touch. We’ve all seen that code and have even written some of it ourselves.
Yes some of these new libraries and frameworks can be of great service by providing constructs that help avoid these problems (sometimes at the expense of introducing a whole new family of problems), but I want to focus our time at a more micro-level, exploring the value that can be gained if we change our programming mentality.
I am going to present, and hopefully persuade the audience of, the many benefits of teaching ourselves to turn-off our imperative programming approach in favor of the declarative mentality of functional programming.