What's the reason behind not supporting passing pa...
# language-evolution
s
What's the reason behind not supporting passing parameters by name to java functions? It is mentioned in the docs [here](https://kotlinlang.org/docs/functions.html#unit-returning-functions):
When calling Java functions on the JVM, you can't use the named argument syntax because Java bytecode does not always preserve the names of function parameters.
However, nearly all java code these days is compiled with the metadata needed; and any changes (in either dependencies or combined-source java files) would be no more breaking than with kotlin. Given that stability, and by-name parameters mechanics being relevant only at compile-time, I'm not sure why the regular java metadata can't be used?
y
It would be a source-breaking change that Java developers won't anticipate.
j
What is your source that "nearly all code" is compiled with
-parameters
?
s
Fair point