// library
Severity
Bucket
Add an 'Alternatives' section listing at least two plausible options with pros/cons and reasons for rejection.
Replace repeated similar if/elif blocks with data-driven loops or dispatch tables.
Centralize repeated dialog creation/action handlers into a helper to ensure consistent UX and error handling.
Create factories/builders for repeated dialog/modal construction with configurable parameters.
Centralize repeated validation rules into helpers or small packages. Reuse them across handlers, services, and jobs.
Do not define the same method multiple times; consolidate behavior in one place.
Deduplicate identical queries within a request; reuse previously fetched data or preload in a single query.
Avoid no-op or duplicate calls (e.g., flatten.flatten, compact followed by compact!).
Complex computed properties should be split into as many simpler properties as possible.
Compute expensive derived values once per input set and reuse them rather than recalculating in multiple places.
Extract repeated inline collections to unmodifiable static constants.
49–59 of 59