A Tour Through Konsist with Igor Wojda

Published: 06 November 2023
on channel: Dave Leeds
2,282
87

Dave Leeds teams up with special guest Igor Wojda to demonstrate how the Konsist static code analysis tool can be used to ensure consistency in a codebase, as they write assertions for a simple REST service. See why Konsist is a vital tool for any Kotlin project!

Check out the Konsist code: https://github.com/LemonAppDev/konsist (and give it a ⭐!)
Read more at the Konsist documentation: https://docs.konsist.lemonappdev.com/

Follow Igor Wojda on Twitter/X:   / igorwojda  
... or LinkedIn:   / igorwojda  

New to Kotlin? Start here:
https://typealias.com/start/

#kotlin #androiddevelopment

00:00 Introduction
01:06 Motivation for Konsist
04:17 Code Quality in Konsist
07:23 Adoption of Konsist
08:19 Overview of Example Project
09:32 Adding the Konsist Dependency
12:00 Use Case - Preventing Controllers from Returning an Array
19:35 Use Case - Preventing Data Class Body Properties
23:23 Use Case - Consistent Property Names for Value Classes
25:58 Use Case - Ensuring Serializable Annotation on Models
27:50 Use Case - Asserting Application Architecture Boundaries
35:01 Other Use Cases for Konsist
39:00 How the Kotlin Community Can Support Konsist
41:37 Final Thoughts