From the course: Agile Software Development: Refactoring

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Code kata

Code kata

From the course: Agile Software Development: Refactoring

Start my 1-month free trial

Code kata

- [Instructor] In this course, we'll learn refactoring using code kata. Code kata is a technique for learning new coding skills. The word kata comes from martial arts practice. In martial arts, a kata is a sequence of moves that you practice repeatedly. You practice the moves so many times that the body develops muscle memory. You can perform the moves without thinking about them anymore. In a martial arts kata, you imagine an invisible opponent. In the first TaeKwonDo kata that I learned, when the imaginary opponent attacked, I turned left, blocked, and punched. Then the imaginary opponent attacked again and I turned right, blocked, and punched. There were 15 to 20 of these simple moves to repeat over and over and over and the more I practiced, the more muscle memory I built. My body could execute the moves without my brain having to think about them. So when I sparred with a real partner, my body automatically reacted effectively. Code kata are like that but for a coding problem…

Contents