Understanding Parameter Order in Kotlin's Primary Constructors
Lydia Yuan
Posted on February 23, 2024
Kotlin follows positional parameter passing by default. So the first example does not work, the first parameter will be taken as a.
💖 💪 🙅 🚩
Lydia Yuan
Posted on February 23, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
undefined Evolution of Programming Languages: A Journey Through First Release Years
November 23, 2024