I’ve been meaning to write this article in a while. Hopefully, the following tips and style recommendations (in no particular order) will help you write better Kotlin! Let’s get on with it, shall we? For 2 or more constructor arguments, prefer not to keep the properties on the same line as the class name in the constructor definition class MyClass(
val a: A,
val b: B,
): MyParentClass(a, b), MyInterface {
// ...
}