~/talk

Breaking changes

Talkat Code Mesh LDN 2018 · 2018-11-08..11-09· [open-source]
slides:none on file

Shows concrete breakages: replacing a numeric status code with a string breaks callers using === and turns arithmetic into string concatenation, the array flatten debate exposes ambiguous semantics, and Node’s Buffer ambiguity gets fixed by splitting into Buffer.from and Buffer.alloc. Semantic Versioning is coarse — zlib 1.2.9 (Dec 2016) rejects previously tolerated compression values and causes crashing servers, taking ~10 months to mitigate. Practical fixes: prefer Maps/Sets, use named-argument objects, assert input types, publish runnable examples and tests.

AI-written summary · about

  1. 0:00Breaking changes James Coglan
  2. 1:42THE SOFTWARE IS PROVIDED AS IS
  3. 7:26Changing interfaces
  4. 15:18Conceptual complexity
  5. 20:59Implied contracts
  6. 23:47Side effects
  7. 32:29Never break anything
  8. 35:52Communicate
  9. 37:33Avoid brittle constructions
  10. 41:43Documentation
  11. 42:45Automated testing
~/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.