String , email: String ) = User(fname , lname , email) fun testUser () = testUser("max", "muster", "
[email protected]") fun testUser(fname: String) = testUser(fname , "muster", "
[email protected]") fun testUser(fname: String , lname: String) = testUser(fname , lname , "
[email protected]") Often seen in Java codebases. The amount of methods explodes really fast and it’s hard to maintain. Get’s even more fun when argument types collide, how do you define a method to just set the lastname? 48