Side effects and purity - Clean code and programming principles for beginners series

Опубликовано: 30 Декабрь 2020
на канале: Programming Duck
298
14

Every programmer has to know about side effects and how to manage them properly, not just functional programmers. In this video you'll learn a lot about side effects, purity and how to handle them in your code.

Chapters:
0:00 Welcome
0:10 Motivation for handling side effects
0:55 What are side effects?
2:26 Danger of side effects
4:26 Handling side effects
5:22 Be pragmatic
7:07 Immutability
9:31 Immutability - Example
10:26 Immutability - Performance concerns
12:40 Avoid non-local scope
14:48 Avoid non-local scope - Example
15:53 Be extremely careful with side effects
16:40 Separate pure and impure functionality
18:25 Separate pure and impure functionality - Bad example
19:10 Separate pure and impure functionality - Good example
19:35 Clear areas of responsibility
22:09 Handle paired side effects properly
23:45 Consider using a framework or functional programming language

Video links:
YouTube playlist:    • Clean code and programming principles...  
Article version of this video: https://programmingduck.com/articles/...
Slides can be found at: https://docs.google.com/presentation/...

Channel links:
Programming Duck: https://programmingduck.com
Facebook:   / programming-duck-100207231868555  
Hire me: https://sargalias.com

#programmingduck #programming #coding