~/talk

Designing code without types

Talkat Craft Conference 2019 · 2019-05-07..05-10· [software-architecture]
slides:none on file

Argues that using Groovy with optional types and a minimalist design produced smaller, clearer code for a production site (eventtricks.com), with fewer tests and surprisingly few runtime type errors; tooling used includes Spock data tables, Grails plugins and IntelliJ. Notes tradeoffs: Haskell’s strong types give provable correctness but cost hours of abstraction, while optional types reduce coupling by keeping types at edges (validation, DB) and require strict naming, tiny methods, clear contracts and modularization.

AI-written summary · about

  1. 0:00Intro
  2. 3:22Who am I
  3. 4:09What Im doing
  4. 5:03Why this talk
  5. 5:39Early professional essay
  6. 7:53Code designer
  7. 9:16I love writing code
  8. 10:39What are optional types
  9. 11:27Expectations
  10. 12:38Groovy
  11. 16:04Optional types
  12. 20:41Cost of abstraction
  13. 23:20Strong coupling
  14. 27:31Contract
  15. 33:39Conclusion
  16. 35:44Always go to optional types
  17. 37:36More changeable code
  18. 38:19Questions
  19. 39:24QA
~/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.