command–query separation
principle that every method should either be a command that performs an action, or a query that returns data to the caller, but not both; asking a question should not change the answer
Facts
2 properties- Instance of
- programming principle
- Discoverer or inventor
- Bertrand Meyer[2]
🏷️ Also known as
en command–query separation
de Kommando-Abfrage-Trennung
de QCS
de Command-Query-Separation
fr Séparation commande–requête
ja コマンドとクエリの分離
ru CQRS
🔗 Connections
Discoverer or inventor 1
Press Enter · cited answer in seconds
0 sources
Summary
command–query separation is a programming principle[1].