JavaScript Jabber cover image

Functional Programming with Ian Schwartz - JSJ 574

JavaScript Jabber

CHAPTER

JavaScript

Every API call, rather than storing the data directly and passing it down, we turn it into an instance of some sort of functional wrapper. And this way, when the actual API is available, if our expectations about how it was going to work are different than we thought they were going to be, which has happened, right? Then the only place that really needs to change is that initial transformation function that turns it into this monadic data type. Because that's a thing that's feature filled, right? So the constructor method might change or the doc create static doc create method might change. But we were able to build UIs without having to think about how the API data was going to

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner