<@U0C2CG716>: it is a good idea to use such "ident...
# announcements
r
@dalexander: it is a good idea to use such "identity closures". I even used this pattern in my ios project written in swift, however my Kotlin code lacks such constructions. Most likely because it's an android project, so basically I can freely use nulls with framework code (such as when setting OnClickListener). It's also more efficient as there are no IdentityListeners created and run as well. But if I were to write such code in Kotlin only, I'd go with "identity pattern" without hesitation simple smile