~/talk

​Keeping Code Style Sanity in a 10-year-old Codebase

Talkat RailsConf 2017 · 2017-04-25..04-27· [ruby-on-rails, developer-experience]
slides:none on file

History of Shopify’s 10‑year Ruby codebase shows concrete moves and tradeoffs: 700,000 Ruby lines of code and ~400 Rails developers trigger adoption of Policial (a PR‑only wrapper) and Rubocop with auto‑correct and CI enforcement; >50% opt in early 2016, checkout/customers/giftcards become fully linted, custom cops block Rails deprecations, but mass auto‑correction breaks git blame, inflates PR churn and makes linting too slow without exclusions and caching.

AI-written summary · about

  1. 0:00Start
  2. 3:28Lots of developers
  3. 4:13What does this mean for code style consistency?
  4. 4:31Creative solutions
  5. 5:33Ruby has evolved
  6. 6:25Inconsistent
  7. 7:11draft Ruby style guide
  8. 9:13Stop the bleeding
  9. 10:52Github commit status API Shopify Ruby style guide
  10. 12:192 Shopify Ruby style guide
  11. 18:18Important note: Policial doesn't fail builds
  12. 19:312 Shopify Rails cops
  13. 20:45The perfect plan
  14. 23:12A week in Shopify-time
  15. 24:44Following Rails steps
  16. 30:47Continue improving our style guide
~/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.