Command-Query Separation

Commands are methods which when invoked, they change the state of the system.

Queries are methods which just retrieve and return data, without changing the state of the system.

This principle just states that you should not mix these two concerns in the same method.