~/talk

Crafting Reliable and Testable Code with TypeScript

Talkat Reliable Web Summit 2021 · 2021-08-26..08-27· [typescript]
slides:none on file

Shows concrete patterns and code: TypeScript + Swagger for self‑documenting APIs, a local weather app with a mocked service that returns 32 to prove unit test behavior, small exported helpers like create jwt function and a pagination utility instead of pulling a library, enums replacing string literals, interfaces and abstract auth service enabling multiple providers, and test setups that spy on URLs. Demonstrations run end to end and unit tests remain fast, isolated, repeatable.

AI-written summary · about

  1. 0:00Intro
  2. 0:11Crafting Reliable
  3. 2:46Reliable Engineering Best Practices
  4. 3:10Benefits of TypeScript • JavaScript at scale
  5. 3:45JavaScript Feature Gap
  6. 4:58CONTEXT SWITCHING LEADS TO ANGER
  7. 5:27High Cohesion - Low coupling
  8. 9:25Self-documenting code
  9. 12:35Test Driven Development
  10. 13:13FIRST principle
  11. 13:33Mike Cohn's Testing Pyramid
  12. 14:31Isolating Dependencies
  13. 21:05Interface Segregation
  14. 21:47TypeScript enables SOLID code
  15. 22:31User Interface
  16. 22:41Interface Tips
  17. 24:19User Model
  18. 24:57Stateless Code
  19. 26:08Imperative
  20. 26:38Reactive
  21. 28:04Write unit testable code Manage complexity
~/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.