~/talk

The Fewer the Concepts, the Better the Code

Talkat RubyConf 2019 · 2019-11-18..11-20· [ruby]
slides:none on file

Claim: minimizing the number of distinct concepts in code increases who can read and safely change it. Evidence: two Ruby implementations of the same task show RuboCop metrics flagging the idiomatic version as higher complexity while a concept count finds 13 concepts versus 9 concepts in the grotty loop, so the loop is learnable by more engineers. Tools and examples include RuboCop, RSpec, Rails routing concerns, a tax example, Stitch Fix deployment work, Twitter’s Scala School, and tradeoffs like Heroku vs RDS vs EC2.

AI-written summary · about

  1. 0:00Start
  2. 0:31Justin
  3. 1:33Code Reviews
  4. 5:02Rubocop Metrics
  5. 7:23cart1.rb concepts
  6. 8:14cart2.rb concepts
  7. 12:08Josh's Contributions
  8. 14:47Understanding
  9. 17:39add_taxl.diff
  10. 19:45triangle_spec.rb
  11. 20:43config/routes.rb
  12. 25:47Monolith vs. Microservices
~/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.