Practical Tips For Legacy Java Codebases Conversion Into Kotlin

May 04, 2023 35 min Free

Description

Recording brought to you by American Express. In this session, Younes Charfaoui shares practical ideas and suggestions for converting a Java codebase into Kotlin. He emphasizes the importance of not just syntax conversion but achieving idiomatic Kotlin, leveraging features like extension functions, coroutines, and sealed classes for better maintainability and testability. The talk covers creating a conversion plan, strategies for code conversion (especially with or without tests), and practical tips for using the Java-to-Kotlin converter, including manual review and handling platform types. It also touches upon Kotlin features like contracts, smart casting, and domain models, as well as the role of AI tools like ChatGPT in the conversion process.