How can I make the IDE to create this lambda for m...
# getting-started
u
How can I make the IDE to create this lambda for me? I hate myself writing that manually
j
If only Kotlin had classes so that you could group all these arguments together and end up with a single argument for your lambda instead of 15 🙂
u
Why allocate 2000 objects if It can be 1000+1 lambda?
v
Ctrl+Shift+Space iirc
j
Because readability and maintainability are, in 99% of the cases, more important than avoiding to instantiate short-lived objects.
âž• 6
u
@Vampire omg thank you! why is that not in autosuggestions