SwitchUp

joined 1 year ago
[–] SwitchUp@programming.dev 2 points 9 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.