james
11/26/2019, 12:31 AMcanEditProfile
and the java class has a field named isCanEditProfile
. I'll have a new kotlin class which exposes a few of these fields, and I think the name isCanEditProfile
seems a bit odd, so I'm looking for alternatives for this and a few other similar booleans.
I know is*
and has*
are commonly accepted boolean prefixes in the java/kotlin world, I'm just wondering if can*
is also acceptable in this context?Rolando Lopez
11/26/2019, 12:45 AMAdam Powell
11/26/2019, 12:54 AMisProfileEditable
Adam Powell
11/26/2019, 12:54 AMAdam Powell
11/26/2019, 12:56 AMjames
11/26/2019, 1:02 AM