https://kotlinlang.org logo
Title
j

Jayden

12/09/2019, 10:14 PM
How do people normally name files that only contain extensions? 1. ViewExtensions.kt 2. ViewExt.kt 3. ?
2️⃣ 3
1️⃣ 9
3️⃣ 7
n

Nick Firmani

12/09/2019, 10:20 PM
4.
View+.kt
😱 3
👍🏻 4
a

Anastasia Finogenova

12/09/2019, 10:50 PM
Never saw view+ but always see ViewExtensions
g

ghedeon

12/09/2019, 11:31 PM
The length of
e x t e n s i o n s
was always irking me, assuming before it was
utils.
But this + trick looks pretty creative!
g

gildor

12/09/2019, 11:36 PM
ViewUtils
I also used ViewExt, but now I try to avoid it, because very often I have not only extensions in such files
a

Anastasia Finogenova

12/09/2019, 11:45 PM
Then I go for Extensions.kt as a name
I guess there is just agreement among the team on the naming and that's it