hey folks, what do you think about <https://github...
# anko
a
hey folks, what do you think about https://github.com/Kotlin/anko/issues/530 ?
💯 4
r
That gives you code that reads nicely, but typealiases don't give you any compile-time type-safety the way annotations can.
a
yes, but I think
typealias
is still lesser evil
@russhwolf moreover, support annotations are still not picked up for kotlin code by CLI lint (AFAIK)
m
typealias DrawableRes = @DrawableRes Int
would be more interesting (but will not work).