~/talk

50,000 lines of spaghetti code and how to unravel it

Talkat Decompress AU 2018 · on Friday, 2018-03-23· [frontend-architecture, javascript]
slides:none on file

A startup inherits 50,000 lines of spaghetti code of unstructured jQuery, untyped Angular and Grunt tasks and transforms it into a modular React App with Webpack bundle splitting, replaces brittle interactions with MobX and Flow and Jest for simpler page logic, type safety and tests, finds and fixes memory leaks that were crashing browsers at over 2GB by using Chrome DevTools allocation snapshots, and wins funding for the cleanup with a measurable bug‑score metric.

AI-written summary · about

  1. 0:00Intro
  2. 3:12Bad names
  3. 6:24Scope soup
  4. 8:48Abstractions
  5. 12:09Memory
~/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.