~/talk

Anti-Patterns in the Wild

Talkat Erlang User Conference 2017 · 2017-06-08..06-09· [developer-experience]
linkedin:faddegon
links:none on file
slides:none on file

Concrete findings, tools and outcomes: an Erlang codebase of 183k lines of Erlang across 531 modules (plus 71k header lines and 7k C) yields recurring anti‑patterns like shifting state, giant case trees and mysterious APIs. Remedies include a homebrew state monad, a quickcheck‑style refactoring validator with MEK mocking that compares pre/post behavior, use of Dialyzer, Elvis and Wrangler (with caution), and enforced code reviews; a 214‑line monster function becomes three focused functions, reducing risk while keeping behavior.

AI-written summary · about

  1. 0:00Start
  2. 0:19Anti-Patterns in the Wild
  3. 4:09Common Specimens of Anti-Patterns
  4. 4:28The Shifting State
  5. 13:07Case Study
  6. 16:02The Long Case
  7. 23:51Mysterious Api
  8. 30:01Catch-all Clauses
  9. 32:55Quick Check Model
  10. 37:55Automated Code Quality Checks
  11. 39:26Code Reviews
  12. 45:21How Do You Find Concurrency Errors
~/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.