i've noticed the `isEnabled` convention in java la...
# codingconventions
s
i've noticed the
isEnabled
convention in java land. i am assuming in kotlin it would just be
enabled
, am i correct in this? i can't remember the justification people had for doing that in java, sth to do with properties?
e
no
Kotlin
var foo: T
= Java `T getFoo()`/`setFoo(T)` Kotlin
var isFoo: Boolean
= Java `boolean isFoo()`/`setFoo(boolean)` following JavaBeans naming conventions
s
hm, thx