Are you making the most of fp-ts Option?

preview_player
Показать описание
Wow, nearly 30 minutes to cover best practices for the Option class from fp-ts, and it barely even scratches the surface!

All feedback, comments, and opinions appreciated, thanks!
Рекомендации по теме
Комментарии
Автор

What I like about it the most is that:
While it's an overkill for cases that TS narrowing handles, if narrowing doesn't work you're screwed. And using Options code that would be nearly impossible to type-check (e.g. getting TS to work would be so hacky you'd rather just assert) become possible to write somewhat elegantly

pawelparadysz
Автор

Thanks for the video. The font is a bit small, but the content is very interesting. Would be great to make a video about the do notation.

nikolaevkirill
visit shbcf.ru