A code kata is a an exercise of coding where the objective is to use simple requirements to train the coding and testing skills.You can use it to train brainstorming and analysis within the team as well.
The subjacent idea is to use the martial arts concept of kata to coding, where repetition leads to perfection.
A few tips:
- Try to fit the analysis, coding and testing within a small range of time, like 2 hours or less.
- Remember if it takes too long or demands a big effort, there will be no motivation to repeat it in another session.
- Most of the exercises exist to train the TDD methodology.
- You can find several exercises in the internet for your use, or just invent one yourself.
Translate a decimal text to roman
Imagine you have a text, or a list of texts, such as the one below, with words and numbers.
(or just write a text with words and numbers):
You want to replace all the decimal numbers with roman numbers
That said, there is also considerable cause for optimism among those who support OER. The awareness and adoption levels may be low, but they also show steady year-to-year improvements. For example, the open-licensed textbook adoption rate of 9% for 2016-17 represents a substantial increase over the rate of 5% for 2015-16. Likewise, awareness of both Creative Commons licensing and OER itself has increased each year.
OER also addresses a key concern of many faculty: the cost of materials. A majority of faculty classify cost as “Very important” for their selection of required course materials. Faculty report that their required textbooks have an average price of $97, and only 22% say that they are “Very satisfied” with that cost. It is therefore not surprising that most faculty report that not all of their students buy all the required texts for their class, with only a third saying that 90% or more of their students have purchased the required textbook.
Have a nice session!
If you implement this kata and you publish it in the internet, be kind a refer to this article. 😃
The text used in the exercise was extracted from a text file I have found in the internet. There is no special meaning to consider.