Kotlin supports getters and setters for properties. Because this is a built-in language feature, it should be the idiom used to implement the
getter and setter pattern instead of using custom idioms.
What is the potential impact?
Readability and Understanding
This change makes it easier to understand the code because this is how delegation is to be used in Kotlin. When developers share common standards
and idioms, they need to spend less effort understanding each other’s code.
Code Redundancy
Using a built-in language feature or a standard API is always better than a custom implementation, because the reimplementation of something that
already exists is unnecessary.