~/talk

Types and Property Tests for Software Resiliency

Talkat Agile India 2020 · 2020-10-11..10-18· [testing]
slides:none on file

Functional programming uses types to constrain behavior and tests to fill gaps: parametricity yields “free theorems” (a polymorphic a -> a has exactly one implementation), algebra counts inhabitants (Bool -> Bool gives four), and two simple properties force list reversal. The workflow pairs Haskell-style types with property-based testing (Hedgehog, Scala/Java interop) and occasional machine-checked proofs (a 300-line Java/Yoneda proof example). The talk compares when types suffice and when targeted randomised properties are needed.

AI-written summary · about

  1. 0:00Intro
  2. 2:11Simple Machines
  3. 2:47Just a bit of history
  4. 6:20What is Functional Programming?
  5. 16:20Software resiliency
  6. 16:54Software sandcastles
  7. 19:02Fast and loose reasoning
  8. 20:45Consider the following Java function ...
  9. 26:42What is Parametricity and Free Theorems
  10. 28:48Polymorphic values and tests
  11. 33:20Once-inhabitance
  12. 34:15Types and tests
  13. 37:13Counting inhabitants
  14. 38:51Here are some more examples
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.