Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Bowling Kata in Kotlin [Video]

DZone's Guide to

Bowling Kata in Kotlin [Video]

Follow along with this 20-minute video to learn how to use Kotlin and TDD to implement the Bowling Game kata.

· Java Zone ·
Free Resource

How do you break a Monolith into Microservices at Scale? This ebook shows strategies and techniques for building scalable and resilient microservices.

Sergio Rodrigo implements the Bowling Game kata in Kotlin using TDD, showing some of the features of the language, such as support for Functional Programming (Higher Order Functions, Lambdas and built-in functions), Pattern Matching, Extension Functions, Expression Bodies, and method names as free text. The kata is performed in a way that shows the expressiveness of Kotlin.

The Kotlin plugin for IntelliJ is used to show the IDE support for the language, using live templates and performing small automatic refactorings.

The code used in this video can be found on GitHub.

This article was first published on the Codurance blog.

How do you break a Monolith into Microservices at Scale? This ebook shows strategies and techniques for building scalable and resilient microservices.

Topics:
kata ,kotlin ,java ,tdd

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}