← Graph

Avoid params-driven development

takeaway 2 connections

Bundling params from the view/controller/JavaScript into a hash that flows through form objects, services and models produces coarse, unclear operations like 'update user'. Instead, be granular: translate the input into a specific command such as 'change email' at the earliest sensible point so the rest of the system deals with intention, not shapes of request data.

type
recommendation
takeaway Avoid params-driven development
about
Takeaway targets this specific anti-pattern.
takeaway Avoid params-driven development
from_talk
Named as an anti-pattern to drop.

Provenance

Read by
8 extractions