https://kotlinlang.org logo
z

Zach Klippenstein (he/him) [MOD]

05/15/2020, 10:55 AM
What are yall's thoughts on making composable functions to render a specific type: 1️⃣
DrawFoo(myFoo)
2️⃣
myFoo.draw()
Both functions are composable and do the same thing. Worded another way, when is it appropriate/idiomatic to create a composable extension function?
1️⃣ 6
2️⃣ 3
Thanks for the response, i know y'all are doing UX studies on this so it's interesting to hear what your rationale is.