~/talk

Invisible Code

Talkat UtahJS Conf 2018 · on Friday, 2018-09-14· [developer-experience]
links:none on file
slides:none on file

Claim: shared mutable state hides behavior and causes bugs. Examples: an order service file of ~1,000 lines with a processOrder function ~20 lines depends on a payment service kept as a singleton and run on 100 threads, which mixes payments across requests and nearly causes a production outage. Fixes demonstrated include return values instead of in-place mutation, lifting reads/writes to clearer boundaries, and isolating UI state with render props. Libraries cited: Mostly Adequate Guide, Fantasy Land, Elm, Haskell, Rust.

AI-written summary · about

  1. 0:00Introduction to mutable state
  2. 1:41Hiding changes in state
  3. 3:56Unpredictable behavior
  4. 8:10Time-dependent logic
  5. 10:11Dependency trees and ownership
  6. 20:26Exponential complexity
  7. 25:05Resources and conclusion
~/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.