How to Build a Functional API—Julien Truffaut

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

I think the proposed product parser [27:39] is as powerful as the original production [25:58] using flatmap.
Since the for comprehension used when defining parser product is going to expand as flatmap.

Maybe I need to read up more about this, not even sure myself.

AdiantoWibisono
Автор

It appears you are partially describing an algebra of types and behaviors, but I didn't see the laws. Perhaps you could describe the relationships between a functional API and functional algebra. Thank you Julien.

arisv
Автор

Great presentation, BUT. In my opinion over engineering to the max. Keep it at basic algebras Try, Either, etc, in combination with good use of for comprehension will do the job just fine. Benefit is that every scala developer, beginner, medior, senior will understand it, without looking up what cats is.

prmaster