# Kotlin string templates, destructuring declarations, and sealed classes

DevFeed: [Kotlin string templates, destructuring declarations, and sealed classes](<https://devfeed.tech/articles/cooking-tasty-code-in-kotlin-part-2-25710.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/cooking-tasty-code-in-kotlin-part-2/>)

Author: Shreyas Patil

Published: 2021-01-01T09:23:42Z

Content type: tutorial

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [coding](<https://devfeed.tech/topics/coding.md>), [coding style](<https://devfeed.tech/topics/coding-style.md>)

Tags: [coding](<https://devfeed.tech/tags/coding.md>), [coding-style](<https://devfeed.tech/tags/coding-style.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-beginner](<https://devfeed.tech/tags/kotlin-beginner.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [programming-tips](<https://devfeed.tech/tags/programming-tips.md>), [sealed-class](<https://devfeed.tech/tags/sealed-class.md>)

## AI overview

A Kotlin tutorial covering string templates, raw multiline strings, destructuring declarations, and sealed classes. It notes that destructuring can be risky when a class member order changes.

## Source excerpt

Part 2 of 'Cooking Tasty Code'. Dive deeper into Kotlin features like delegation, operator overloading, and more to enhance your coding style.