Command–query separation (CQS) is a principle of imperative computer programming. It was devised by Bertrand Meyer as part of his pioneering work on the Eiffel programming language.
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. In other words, asking a question should not change the answer. More formally, methods should return a value only if they are referentially transparent and hence possess no side effects.
referenceFull Form | Category |
---|---|
Command Query Responsibility Segregation | Computer Technology |
Command Query Responsibility Separation | Computer Technology |
Command and Query Responsibility Segregation | General |
Calculating Quality Reporting Service | General |
Centralized Quality Review Site | General |
Calculating Quality Reporting Service (NHS UK) | Medical |
Ever curious about what that abbreviation stands for? fullforms has got them all listed out for you to explore. Simply,Choose a subject/topic and get started on a self-paced learning journey in a world of fullforms.
Allow To Receive Free Coins Credit 🪙