~/talk

Clean Code: Eternal Practices

Talkat DevTernity 2022 · 2022-12-08..12-09· [developer-experience]
speakerdeck:pillopl
slides:none on file

Claim: clean code is emergent from clean architecture and a clear model. Live code builds an e‑scooter system with Reservation, Scooter, Demand and Maintenance repos, shows race conditions and test bloat when services coordinate three datasources, and then replaces that with an Availability aggregate exposing take/release API so reservation, maintenance and demand adjust to availability not each other, simplifying tests and removing logical coupling. Second demo implements Prisoner’s Dilemma strategies, an interaction model and a tournament/evolution layer; it runs and shows surprising winners (mean and a “good memory” variant).

AI-written summary · about

  1. 0:00Introduction and setup
  2. 3:15Clean code is emergent
  3. 17:25Problems with naive design
  4. 24:51Spot the missing behavior
  5. 31:51Refactoring to availability model
  6. 42:43Separating domain and application logic
  7. 50:29Building higher abstractions
  8. 56:54Q&A and closing
~/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.