DiscoverDev Bootcamp LifeEpisode 17. Pure Functions and Side Effects in JavaScript
Episode 17. Pure Functions and Side Effects in JavaScript

Episode 17. Pure Functions and Side Effects in JavaScript

Update: 2020-12-28
Share

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! 

Comments 
In Channel
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Episode 17. Pure Functions and Side Effects in JavaScript

Episode 17. Pure Functions and Side Effects in JavaScript

Juan Lizarazo, Jared Potter