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
From the course: Agile Software Development: Refactoring
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
What is refactoring?53s
-
(Locked)
Test-driven development (TDD)1m 10s
-
(Locked)
Code kata1m 24s
-
(Locked)
Setting up the new code kata2m 30s
-
(Locked)
Setting up the TDD environment3m 13s
-
(Locked)
Refactoring: Rename Variable3m 47s
-
(Locked)
Micro-refactoring3m 47s
-
Refactoring: Inline Code4m 3s
-
(Locked)
Code kata: Continue solving the problem4m 2s
-
(Locked)
Refactoring: Extract Method4m 38s
-
(Locked)
-
-
-