Make Illegal States Unrepresentable - Techniques for Safer Code Design

Make Illegal States Unrepresentable - Techniques for Safer Code Design

Code Sync via YouTube Direct link

adding expectations

39 of 53

39 of 53

adding expectations

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Make Illegal States Unrepresentable - Techniques for Safer Code Design

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Introduction
  2. 2 What went wrong
  3. 3 Outline
  4. 4 Financial System
  5. 5 State
  6. 6 Single State
  7. 7 Illegal States
  8. 8 Diagram
  9. 9 Representation
  10. 10 Impossible
  11. 11 The Ideal
  12. 12 Can you do it
  13. 13 Do something else
  14. 14 People really like coffee
  15. 15 Coffee is very complicated
  16. 16 Programming a robot
  17. 17 Ordering coffee
  18. 18 Ordering Irish coffee
  19. 19 What is the issue
  20. 20 Espresso
  21. 21 Other Illegal States
  22. 22 Why
  23. 23 Irish Coffee
  24. 24 algebraic data types
  25. 25 required dependencies
  26. 26 no exceptions
  27. 27 algebraic datatypes
  28. 28 not a magical solution
  29. 29 another scenario
  30. 30 tasty ratio
  31. 31 legal states
  32. 32 invariants
  33. 33 examples
  34. 34 more examples
  35. 35 brewing coffee
  36. 36 model brewing
  37. 37 desiredstatespace
  38. 38 imperative interface
  39. 39 adding expectations
  40. 40 implementing prep flow
  41. 41 type parameters
  42. 42 declarative code
  43. 43 easier to comprehend
  44. 44 potential bugs
  45. 45 fewer tests
  46. 46 safer refactoring
  47. 47 parallel refactoring
  48. 48 statespace
  49. 49 techniques
  50. 50 next steps
  51. 51 resources
  52. 52 bug
  53. 53 question

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.