Java style double brace initialization is bulky and I would avoid this as it has some unexpected side-effects because this syntax actually creates an anonymous inner class. I expected C# pattern object initializers in Kotlin as it promises everything concise.
Why is there no such thing as C# pattern object initializers in Kotlin like for instance
Employee emp_001= new Employee
Age = 25,
Name = “Javed Khan”
This would have been a very powerful and handy feature.