~/talk

Applying Code Standards Retroactively

Talkat UtahJS Conf 2017 · on Wednesday, 2017-09-27· [developer-experience]
links:none on file
slides:none on file

Team retrofits a large TypeScript Angular front end by automating renames, formatting and AST rewrites: uses Node.js file system API to rename .html to .component.html and update imports, AST tools to add semicolons and enforce const/let, clang-format and Angular template parser for HTML, and a custom VS Code extension to move files and update references. A six‑person hackathon converts 600,000 lines of JS to TS in three days using Gent. Changes touch every file, break the git history, and are validated by compiler checks and Jenkins builds.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:59Why retroactive refactoring
  3. 3:44Strategies for enforcing standards
  4. 6:52Automating code changes
  5. 9:41Mitigating refactoring risks
  6. 12:30Advice to avoid future refactoring
  7. 14:17Handling merge conflicts
  8. 16:41Q&A session
~/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.