i don't mean this condescendingly: what is the poi...
# announcements
h
i don't mean this condescendingly: what is the point of SAMs in kotlin? why not just write a top-level method? inheritance (guessing no)? java compatibility (guessing yes)?
a
while I can't speak for others, with #CJLTWPH7S there are several APIs we use function types for today where the common usage is with a lambda but it would be useful to have better ergonomics around passing a more persistent object when it comes up. You can do it today, but extending the function interfaces and overriding invoke is kind of janky.
👍 1