SwitchUp

joined 1 year ago
[–] SwitchUp@programming.dev 3 points 11 months ago

Sounds like Command-Query Separation (CQS)

It states that every method should either be a command that performs an action, or a query that returns data to the caller, but not both.