<@U9ZJ7AM52> the `justFunction` will be compiled i...
# getting-started
a
@zucen.co the
justFunction
will be compiled into two different methods. Thats not really possible with lambdas or local functions, because you have only one
val singleParamFun
z
aah as I am still very new to this "so much generated code during compile" i did not realize named args functions are implemented as every used variant into real method... but i understand it has to work on jvm..
k
It won't be compiled to two functions though? See eg. https://stackoverflow.com/questions/46024775/why-kotlin-function-with-default-parameters-creates-a-method-with-unused-paramet for an overview of the decompiled bytecode.
a
z
Interesting now I at least kow how this works under the hood 🙂 thanks