Episode 17. Pure Functions and Side Effects in JavaScript
Description
Follow us on Twitter:
https://www.twitter.com/jaredpotter •• https://www.twitter.com/juanlizarazog
What is a pure function? Are all functions pure? Side-effects? Those can't be good, can they?
What are the benefits of writing pure functions in your JavaScript code - node, vanilla JS, Angular, Vue, React, etc.?
In our latest episode, Juan Lizarazo and Jared Potter clearly define what pure functions are, what their key benefits are, and when to use them. However, we also explore how not all functions should be pure for most javascript web applications. We also discuss the correct usage of side-effects and how it provides us great value! Many interviews will ask questions about pure functions - be ready by listening to our podcast and doing your homework to help you become a better web software engineer and help you land your first tech job!