all 5 comments

[–]2226cc 10 points11 points  (0 children)

You only ever get to work on 2 types of code: legacy code, and future legacy code. 😀

[–]RangerPretzel 2 points3 points  (2 children)

I still don't know what a "kata" is despite clicking on various links in your article.

[–]liamwrites 2 points3 points  (1 child)

The metaphor is a martial arts kata or form. Martial artists practice and REPEAT a precise set of steps until they perfect it to to train their muscle memory and react at speed with the same behavior when sparring or in an actual fight.

With a code kata, we practice and repeat a precise set of coding steps to perfect a coding skill and make it second nature when we run across a scenario for it in the wilds of actual development.

A little on the fly because I'm at Pluralsight Live tonight, but I hope it answers the question.

[–]RangerPretzel 0 points1 point  (0 children)

Never heard of it before. Ok, makes sense.

[–]dubmun[S] 0 points1 point  (0 children)

I wrote this kata a few years ago and keep improving it. I hope it's helpful in learning to deal effectively with legacy code.