Advanced functional programming in TypeScript: Maybe monad

With this post, I would like to start a short series about monads. If you are familiar with some functional programming techniques in JavaScript (such as immutability or pure functions), this is a great next step to go deeper into this amazing paradigm. Regardless of whether you’ve never heard about monads or have heard about them but never really understood them, this series will strive to explain then in simple, practical terms. read more

Functional JavaScript part 4: lodash

With this post we will finalize the part of this course devoted to array operations Vanilla JavaScript provides us with some higher order functions (such as forEach , filter , map and reduce). However, there are actually many more such functions in the world of functional programming. Lodash is a library which extends your arsenal of higher order functions. Let’s have a look at how to use it in practice. read more