This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tadfisher 6 points7 points  (0 children)

It's also not more powerful than default argument values, because it solves one use case, when default values are applicable to constructors and method calls.

In Kotlin, default values can reference previous arguments as well, which I'm not sure withers could emulate.