JavaScript Jabber cover image

Functional Programming with Ian Schwartz - JSJ 574

JavaScript Jabber

00:00

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

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app