https://kotlinlang.org logo
g

grahamcox82

10/01/2015, 1:14 PM
Though - it's just occurred to me - maybe the setter should throw if the field already has a value, to protect against it changing later on...