title: Kotlin: why do I need to initialize a var with custom getter?
body: <p>Why do I need to initialize a <code>var</code> with a custom getter, that returns a constant?</p>
  
  <pre><code>var greeting: String // Property must be initialized 
  get() = "hello"
  </code></pre>
  
  <p>I don't need initialization when I make <code>greeting</code> read-only (<code>val</code>)</p>