From the course: Agile Software Development: Refactoring

Unlock the full course today

Join today to access over 24,100 courses taught by industry experts.

Setting up the new code kata

Setting up the new code kata

- [Instructor] The first Kata we'll practice is a Roman numerals Kata. This is about refactoring while writing brand new code. The problem to solve is converting Roman numerals to Arabic numbers. To motivate the Kata, here's a user story. As an elementary school teacher, I want a website that converts Roman numerals to Arabic numbers so my students can easily check their homework. Roman numerals are old fashion numbers written with letters like I, V and X. You'll see numbers written this way on old buildings or in the copyright notice at the end of a movie. Arabic numbers are the numbers that we use everyday, like one, two and three. To get started on the Kata, create a new project in IntelliJ. On the left hand side select Maven and click next. For Groupid, type something like com.linkedin.kata and for Artifactid, because this is the Roman numerals Kata, we'll call this RomanNumerals, click next. Now click finish. In the bottom right hand corner of IntelliJ's screen, you'll see this…

Contents