Are there any disadvantages, if I were to replace all my accessors (get-like const methods) with readonly properties in Objective-C? Are they interchangeable?
I prefer readonly properties for documentation/readability.
Coming from C++, I am thinking of replacing all my const methods (non-mutable methods) with readonly properties in ObjC.
If I adhere to this convention, then I can automatically assume that any regular methods will be changing state (non-const method in C++). Also from a functional-programming perspective, knowing that a readonly property won't change any state (having no side-effects) is useful.