igor.wojda
11/22/2021, 2:16 PMThe contents of a class should go in the following order:
Property declarations and initializer blocks
Secondary constructors
Method declarations
Companion object
What would be the reasoning of placing companion object at the end? (just personal style, or there is some actual argument behind it?)pavi2410
11/22/2021, 2:22 PMMarko Novakovic
11/22/2021, 2:22 PMcompanion object
but it didn’t cross my mind to ask here 😄 and it’s good idea
I used to put it first, above everythingpavi2410
11/22/2021, 2:24 PM