O'Reilly logo
  • Maurizio Pietrantuono thinks this is interesting:

you use the val or var keyword with a constructor parameter, however, you also declare a getter and a setter (if the property is mutable).

From

Cover of Kotlin in Action

Note

importante