Is there a Kotlinic (as in Pythonic for Python, or...
# getting-started
f
Is there a Kotlinic (as in Pythonic for Python, or whatever it's called for Kotlin) way to create a builder that uses the existing information in a class? So mostly just to change variables in a class while keeping immutability (Edit: The builder returns a copy of the information in the class which is changed where needed). Below are two code snippets for Java and Kotlin of what I have at the moment.