Conversation

It's rare to have a way to allow direct access but not direct assignment without making the field read-only. Some languages support overriding getting/setting fields with methods so it can be freely switched between direct access or methods without changing the API externally.
1
1