~/talk

The Curse of Service Object

Talkat wroc_love.rb 2024 · 2024-04-12..04-14· [ruby-on-rails]
slides:none on file

Argues that widely used service objects are a harmful, ill-fitting abstraction that grow inward into monsters (one GitLab service swells to 200 lines), and demonstrates a concrete alternative: use the visual method O in pictures to classify work, move business rules into models, push complex mutations into mutators, and isolate external calls into small manager classes. Shows code examples from real repos, explains controllers keep application concerns, and makes services plain stateless procedures named for activities.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:00O in Pictures method explained
  3. 10:07What developers say about service objects
  4. 12:37Roots of service objects concept
  5. 18:21Analyzing service objects in practice
  6. 27:53The curse of service objects
  7. 32:18Refactoring with modular approach
  8. 39:25Q&A session begins
~/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.