Talking Kotlin cover image

From Java to Kotlin

Talking Kotlin

CHAPTER

Using Kotlin in a Test Data Builder

Kotlin can be a really beautifully expressive language and so your ability to communicate What your system is doing in code in your test is really really important. But don't convert your test first because you think that's a low risk thing convert yourtest first because that's a really high value thing. We've shrunk hundreds of lines of code down into two brilliant or maybe you know for your extension methods as well Places where you're working with Collections, the next thing we did is like streams turning streams into just using a cotton's Extension methods on collections. The last one is to go really and I think that's an ars Bit of Java that disappeared when we finally had removed all the job

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner