← Graph

Name Sidekiq Jobs After Their Responsibility

takeaway 1 connections

Avoid generic class names like DeleteUsers or ResumeProcessor. Pick names that describe the responsibility and mark the class as a job (e.g. RemoveOutdatedUsersJob). Group related jobs under a shared namespace/directory (e.g. Stripe::...) to make their context obvious. Worth a pass over an existing codebase to refactor generic names.

type
recommendation
takeaway Name Sidekiq Jobs After Their Responsibility
from_talk
Recommendation from the practices half of the talk.

Provenance