How to Make Your Code Clean With Kotlin Sealed Classes
Offered By: Philipp Lackner via YouTube
Course Description
Overview
Learn how to enhance code cleanliness using Kotlin sealed classes in this 18-minute tutorial. Explore the differences between sealed classes and enum classes, discover techniques for handling responses with sealed classes, and understand how to effectively expose state in a ViewModel. Gain insights into making code more readable and maintainable through practical examples and explanations. Master the implementation of sealed classes to improve overall code structure and organization in Kotlin projects.
Syllabus
- Introduction
- Sealed classes vs. enum classes
- Using sealed classes to handle responses
- Exposing state in a ViewModel
- Making your code more readable
Taught by
Philipp Lackner
Related Courses
Writing Professional CodeMicrosoft via edX Learn C# By Building Applications
Udemy Fundamentos de C# para Principiantes
Udemy What's New in Visual Studio 2017 for F# For Developers
LinkedIn Learning Clean Code
Udemy