To me, a functional interface is a functional type...
# announcements
j
To me, a functional interface is a functional type. Now instead of clearly documenting and naming a Predicate (for example), we use a
(T) -> boolean
, which, IMO, is less readable (not always the case, I agree). And to fix this problem, Kotlin 1.1 will introduce type aliases, which wouldn't have been necessary for this usecase if functional interfaces were treated as functions in the first place, as they are in Java.