← Public Library

Coding Kata Session

by MASTER

Practice a single coding kata to improve problem-solving and implementation speed; use when you have a focused 30-minute block.

Save to your Fecit app
Open this routine in the Fecit app and add it to your library.

What's inside

Coding Kata Session

Practice a single coding kata to improve problem-solving and implementation speed; use when you have a focused 30-minute block.

⏱ 30 min ★ Medium
Target

A selected kata prompt is unread or only briefly scanned and there is no working solution, tests, or branch started.

Obstacle

I spend too long deciding on an approach or reading examples without writing tests or code, which eats the available focused time.

Expectation

A working implementation that passes unit tests, a few edge-case tests added, and changes committed to a feature branch with a short note about the approach.

Tools
  • • Computer with code editor — 1
  • • Terminal or REPL — 1
Steps
  1. 01
    Select kata and set up workspace
    Open the kata page, read the problem statement and constraints, choose the language, create a new git branch, and create the project/test files.
    ⏱ 5 min
  2. 02
    Write a concise plan and initial test
    Write a one-paragraph plan listing the algorithm steps and edge cases, then add a first unit test that expresses the main expected behavior (it should fail initially).
    ⏱ 10 min
  3. 03
    Implement incrementally and run tests
    Implement the solution in small increments, running the test suite after each change until the main test passes; fix any failing tests discovered.
    ⏱ 13 min
  4. 04
    Refactor, add edge-case tests, and commit
    Refactor variable names and small logic improvements, add 2–3 tests for edge cases, run the full test suite, and commit the branch with a brief note about design choices.
    ⏱ 2 min