Kata (programming)

from Wikipedia, the free encyclopedia

In programming, kata describes a small, completed exercise. The name comes from the Japanese martial arts (compare Kata ) and emphasizes the importance of practice and frequent repetition for learning. The term was coined in 2007 by Dave Thomas . Thomas currently presents 21 exercises on his blog CodeKata . The Kata Manifesto also names safe experimentation, diversity and learning together as important aspects. So a kata doesn't just have oneSolving the problem posed, but should be implemented in different ways and using different techniques. The individual solution to the problem posed is a clear non-goal, which is why trivial problems like the Fizz Buzz Kata are a good introduction.

The clean code movement that characterizes the term views programming as a skill (as opposed to programming or engineering) and katas as a way to learn not to build up technical debt in the first place. The implementation of katas with test-driven development is often recommended.

Web links

Individual evidence

  1. Dave Thomas: CodeKata: How to become a better programmer. Blog. Retrieved April 22, 2020.
  2. Kata Manifesto. ( Memento of May 14, 2015 in the Internet Archive ) Retrieved March 20, 2013.
  3. Anonymous: KataFizzBuzz. Example of an extremely small step exercise. Retrieved March 25, 2013.