paint-brush
A glance at MVI through a deck of cardsby@Zhuinden
2,320 reads
2,320 reads

A glance at MVI through a deck of cards

by Gabor Varadi5mJuly 18th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

I’ve always been curious about MVI, ever since I saw the example implementation of <a href="https://github.com/pakoito/RxSealedUnions2/blob/master/rxsealedunions2/src/test/java/com/pacoworks/rxsealedunions2/tennis/TennisGame.java#L21" target="_blank">the “Tennis Kata” using RxSealedUnions</a>. To be honest, I’m still not entirely sure how that one works (I think it’d deserve its own article) — it looks nicer with lambdas, and it is an implementation of a finite-state state machine with strictly defined states, where the unions define the given state, and how they react in that given state.

People Mentioned

Mention Thumbnail

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - A glance at MVI through a deck of cards
Gabor Varadi HackerNoon profile picture
Gabor Varadi

Gabor Varadi

@Zhuinden

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Apptractor
Apptractor
Pvsm
Sudonull