~/talk

Elm in Production: Type/Test Driven Development

Talkat QCon São Paulo 2018 · 2018-05-09..05-11· [frontend-architecture, testing]
links:none on file
slides:none on file

Tracker dashboard, new-user flow and project-members pages are written in Elm and run in production; the team adopts a hybrid workflow called Type/Test Driven Development where the Elm compiler enforces correctness and unit tests assert business rules. Integration with existing JavaScript uses ports (native code is discouraged), forcing occasional multi-language work and JSON serialization. They implement a custom fuzzy matcher because no Elm library exists, and rely on the time-travel debugger and Elm’s strong types to eliminate runtime exceptions and ease refactors.

AI-written summary · about

  1. 0:00Intro
  2. 0:15Piper Niehaus
  3. 0:26Software Engineer at Pivotal
  4. 2:35Benevolent dictator for life
  5. 3:48What is a pure function?
  6. 4:44Pure vs impure functional programming languages
  7. 5:30Benefits of pure functional programming
  8. 6:11Elm time travel debugger
  9. 6:24Time travel debugging
  10. 7:30What is static typing?
  11. 7:59Dynamic typing
  12. 9:35Strong static typing tools in Elm
  13. 10:15Benefits of strong static typing...
  14. 11:03Elm's friendly compiler
  15. 12:03What is the Elm architecture?
  16. 12:45Elm architecture example
  17. 13:45Benefits of the Elm architecture
  18. 15:29Elm and functional programming at Pivotal Tracker
  19. 16:39The decision to use Elm
  20. 19:10Encoding business Logic into types
  21. 20:20How to structure a large Elm app?
  22. 21:17File structure puzzle
  23. 22:31Fase of refactoring Elm
  24. 23:32Testing in Elm
  25. 24:01Test/Type Driven Development (TDD)
  26. 25:24Testing phase 1
  27. 25:42Testing the update loop
  28. 26:21Selector pattern
  29. 27:02Elm tests driving structure
  30. 32:56As a product owner or tester...
  31. 36:36Strong static typing / FP in Kotlin
~/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.