Are type aliases to be expected?


#1

When writing a lot of data-oriented and template-oriented code the issue of a very long type declarations comes to an attention. Kotlin is much better in this regard than java (no need to repeat a type when declaring a variable), but it still requires it to be present sometimes (in function parameters).

Google told me that there were some hints from Kotlin developers that type aliases are a planned feature, but that goes back to the early days of Kotlin.

I wonder what is the current state of this?
I would very much vote for this feature to be present in the already great languageā€¦


#2

Type aliases are on the roadmap, but not for the nearest future


#3

OK. Then I'd say one thing to you: please do not drop them from the roadmap! :)


#4

We won't. It's a very useful feature