What should be defined as a behavior, and what should rather be a function?
Read and learn from the article written by @marcinmoskala 👇
https://kt.academy/article/ek-property
This is a chapter from the Effective Kotlin book. You can find it on LeanPub 👇
https://leanpub.com/effectivekotlin