Just came here to say that I hit my first natural ...
# language-evolution
e
Just came here to say that I hit my first natural use case for context parameters, and I love it!
K 5
🦜 11
j
So... What was the use case? 😄
e
Nothing crazy, I just found myself passing the same two parameters down a deep chain of calls, and it clicked in my head that this is what I could use context parameters for, and it felt much better. Much like the rest of Kotlin; nothing crazy but it allows you to do what feels natural, and it works well 😄
thank you color 2
👌 1
👌🏾 2
h
Same, I mostly use them for DSLs
1
e
But aren't you simply moving the parameters from one place to another? You still have to specify them in the context.
e
Yes, but I don't need to specify them at the call sites as well