Menu
Sign In Search Podcasts Charts Entities Add Podcast API Pricing
Podcast Image

Chats with Kent C. Dodds

Make Your Apps Resilient UsingFinite State Machines With David Khourshid

05 Aug 2019

Description

In this episode, David Khourshid gives the rundown on how finite state machines can make your app more testable, more resilient to bugs, and easier to refactor.David's initial interest in finite state machines stemmed from his background in music. With music, there is a universal notation that crosses genre boundaries. David thought what if there could be music notation for logic? Well, it ends up people have been trying to figure this out for the last thirty years.A finite state machine can only be in exactly one state out of a limited number of possible states. The machine can transition to another state through explicitly defined events.David also chats with Kent about extended finite state machines, how state machines can be used to simplify integration testing, the differences between xstate and redux.HomeworkTake whatever feature you are working on and model it out in your head as a finite state machineResourcesWikipedia: Finite State MachinexstateGuest: David KhourshidTwitter: @davidkpianoGitHub: @davidkpianoHost: Kent C. DoddsWebsite: kentcdodds.comTwitter: @kentcdoddsGitHub: @kentcdoddsYouTube: Kent C. DoddsEpic React: epicreact.dev

Audio
Featured in this Episode

No persons identified in this episode.

Transcription

No transcription available yet

Help us prioritize this episode for transcription by upvoting it.

0 upvotes
🗳️ Sign in to Upvote

Popular episodes get transcribed faster

Comments

There are no comments yet.

Please log in to write the first comment.