DEV Community

Discussion on: Dealing with side effects and pure functions in javascript

Collapse
 
itayperry profile image
Itay • Edited

The last thing you did looks like RxJS without RxJS and my head hurts lol this is a really advanced article :)

Collapse
 
vonheikemen profile image
Heiker • Edited

That's a little bit of the functor pattern*, it's really weird at first but it gets easier to read and write with practice.

*Is not officially a pattern but I like to think of them in that way.