Reviewer > Provided PTC reviews > Style reviews > Query operation not immutable (Reviewer Review)
Query operation not immutable (Reviewer Review)
Review items are added for any operations that have a named prefix that indicates the operation should be immutable. Prefixes like “get”, “has” or “is” usually indicate an operation that inspects an object without changing it and should be marked as immutable.
Making operations immutable gives developers confidence that making a call will not change the object's state. Some languages, such as C++, support immutable operations with the const keyword.
Making the operation immutable from the operation, properties, or options tab is the simplest fix. If the operation will be changing the object's state then you should consider renaming it to prevent confusion.