# All About Type Aliases in Kotlin

DevFeed: [All About Type Aliases in Kotlin](<https://devfeed.tech/articles/all-about-type-aliases-in-kotlin-25031.md>)

Original publisher: [Read original article](<https://typealias.com/guides/all-about-type-aliases/>)

Author: author@typealias.com (Dave Leeds)

Published: 2018-05-14T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dave Leeds on Kotlin - typealias.com](<https://devfeed.tech/sources/dave-leeds-on-kotlin-typealias-com.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Code](<https://devfeed.tech/topics/code.md>), [gotchas](<https://devfeed.tech/topics/gotchas.md>), [import](<https://devfeed.tech/topics/import.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [function](<https://devfeed.tech/tags/function.md>), [gotchas](<https://devfeed.tech/tags/gotchas.md>), [import](<https://devfeed.tech/tags/import.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [programming](<https://devfeed.tech/tags/programming.md>), [readability](<https://devfeed.tech/tags/readability.md>), [type-alias](<https://devfeed.tech/tags/type-alias.md>)

## AI overview

A Kotlin tutorial explaining type aliases, how they make complex types easier to read and maintain, practical use cases, common gotchas, and the related Import As feature.

## Source excerpt

Have you ever had a conversation like this? Hopefully you haven't had a conversation like that in real life, but you might have had one like that with your code! For example, take a gander at this: interface RestaurantPatron { fun makeReservation(restaurant: Organization<(Currency, Coupon?) -> Sustenance>) fun visit(restaurant: Organization<(Currency, Coupon?) -> Sustenance>) fun complainAbout(restaurant: Organization<(Currency, Coupon?) -> Sustenance>) } When you see a chunk of code with so many types smushed together, it's easy to get lost in the details.