Based on the discussions here (<1>, <2>), <on Twit...
# codingconventions
m
Based on the discussions here (12), on Twitter, and my own experience, I tried to extract the general suggestions when to prefer function type and when functional interface. What do you think? Happy to see all kinds of suggestions and comments. (the article is not yet published, this is a preview) (tl;dr in the Summary) https://kt.academy/article/ek-function-types
👍 1
s
Coincidentally, I faced a problem just few days ago and I ended up solving it with
fun interface
instead of using
Lambda
type. Wrote about it here. https://jabbar.hashnode.dev/kotlin-sealed-class-api-for-java-consumption
☝️ 1