JavaScript Jabber cover image

Functional Programming with Ian Schwartz - JSJ 574

JavaScript Jabber

00:00

Is That the One You Just Wanted?

The advantage of using a maybe is that when you go to eventually unwrap the value and get that value out to put it in your react, you're going to have to handle both cases. And so with my maybe's and with most implementations of maybe, it's that way as well. So you can't just ignore the fact that it could be null, which is a big part of the upside of it, if that makes sense. Yes, it does. Although you need to bet, for better or worse, TypeScript kind of forces you to handle this as well.

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