Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a code-kata and what is it good for? [closed]

in the past few weeks I have heard about a phenomenon called 'code-kata'. When I get it right, it means coding an exercise again and again. What is its point? Does it improve your abillity to design better software? If yes, why does it do so?

like image 900
Roland Schneider Avatar asked Nov 17 '09 21:11

Roland Schneider


People also ask

What is kata in development?

All of the definitions of kata essentially refer to the same basic concept — a form, routine, or pattern of behavior that can be practiced to develop a skill to the point where it becomes second nature. Practicing kata (patterns) consistently and deliberately forms a habit. Forming a habit develops new skills.

What is a kata session?

A kata is an exercise in karate where you repeat a form many, many times, making little improvements in each. The intent behind code kata is similar. Each is a short exercise (perhaps 30 minutes to an hour long). Some involve programming, and can be coded in many different ways.

What is kata in testing?

If you are a developer you've probably come across the term Coding Katas at least once. Coding Katas are exercises developers can use to hone their skills in developing in general or understanding a specific programming language.


1 Answers

This was the first time I've heard of this, so after a quick google, here's my gut reaction:

Code Kata is not repeating an exercise over and over again. Rather it's about constantly expanding your "comfort zone" so you can grow as a developer.

Simply working on projects that you know how to do won't help you. You need to try and tackle projects that you would most likely fail at on your first attempt.

The end goal is that if you continuously try, fail, try again, fail again, etc, sooner or later you will succeed. When you do, you've mastered some new knowledge, and become a better developer.

Enough repetition of this will obviously improve your skill.

(Sorry if it's a bit of a brain dump)

like image 161
Jim B Avatar answered Oct 23 '22 16:10

Jim B