~/talk

Clean Coders Hate What Happens to Your Code When You Use These Enterprise Programming Tricks

Talkat NDC London 2017 · 2017-01-16..01-20· [software-architecture]
slides:none on file

Argument: common enterprise habits — needless factories, verbose imports, cargo‑cult patterns, Singleton configuration and excessive comments — systematically bloat code and hide errors. Demonstrations include left-pad: 11 lines broke thousands with an ad‑hoc test harness that finds regressions; multiple FizzBuzz rewrites culminating in FizzBuzz Enterprise Edition to show over‑engineering; and a C++ refactor that replaces sprintf with safer APIs, moves declarations close to use, swaps raw pointers for smart pointers, removes a global configuration Singleton by passing typed params, and relies on constructors to fail fast — producing much simpler, working code.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30Enterprise Scale
  3. 5:40Enterprise Code
  4. 7:45JavaScript
  5. 11:13Fizzbuzz
  6. 13:49Python
  7. 15:28Fizz Buzz
  8. 19:04Haskell
  9. 24:50Comments
  10. 27:13A common fallacy
  11. 27:54Too many imports
  12. 29:45Awkward questions
  13. 30:14Peoples explanations
  14. 31:20The Matrix
  15. 32:27Too Many Inputs
  16. 37:26Repetition
  17. 38:28Factory
  18. 40:31Singleton
  19. 41:37Population explosion
  20. 44:46Name
  21. 46:34Configuration
  22. 49:09Disappearance
  23. 49:23Rename
  24. 52:14Noisy logging
~/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.