https://kotlinlang.org logo
Title
p

pablisco

09/06/2021, 8:29 PM
t

Tobias Berger

09/06/2021, 8:47 PM
I think your wording is a bit misleading. The guide says that you "can use the same naming style as 
object
 declarations" (upper camel case) for properties that hold references to singleton objects. Saying "top-level properties that don't change" sounds a lot more like a constant to me, which should use screaming snake case (which is mentioned in the section directly above your screenshot)
👍 2
p

pablisco

09/06/2021, 9:53 PM
I guess I read what I wanted (“misleading” may be a bit strong). I’ve always thought that SCREAMING_SNAKE_CASE a bit of a smell. Like using
m
prefixed in member properties…