Functional JavaScript Tutorial - #4 Memoization

Опубликовано: 12 Август 2019
на канале: Zaiste Programming
5,538
127

Memoization it is an optimization technique. It consists of storing function result instead of recomputing it each time. In other words, it is a « cache » for function invocations. Since function results are cached, they can be returned immediately when given function is invoked with the same arguments. A function can only be memoized if it is referentially transparent.

Functional programming is a programming paradigm in which you build programs by
composing functions. The computation is then the evaluation of those functions.
Functional programming focuses on the usage of pure functions and on avoiding
shared, mutable state. This programming paradigm is declarative. Functional code
is usually more concise and easier to test.

In this mini series, we will embark on an exciting journey to learn a bit about
functional programming by using JavaScript. Presented concepts will be mostly
universal and applicable to other programming languages. This series is created with beginners and non-programmers in mind; don't worry, we will take it slowly!

Zaiste Weekly Newsletter: https://bit.ly/zaiste-weekly

#functional #javascript #memoization


На этой странице сайта вы можете посмотреть видео онлайн Functional JavaScript Tutorial - #4 Memoization длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Zaiste Programming 12 Август 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 5,538 раз и оно понравилось 127 зрителям. Приятного просмотра!