This page is a work in progress, but if you need to create a secondary class constructor in Kotlin, I hope it’s helpful.
As a brief note today, if you want to see how to create a Scala case class that defines multiple alternate constructors, I hope this example is helpful:
Scala constructors FAQ: How do I create a Scala class with multiple constructors (secondary constructors)?
The Scala approach to defining multiple class constructors is a little different than Java, but somewhat similar. Rather than try to explain this in words, I just created some example source code to demonstrate how this works.
Here's some source code to demonstrate the Scala "multiple constructors" approach: