Skip to content

Coding katas are a programming exercise that helps developers hone their skills through practice and repetition. Acknowledgements to Samman Coaching Katas

Notifications You must be signed in to change notification settings

corey-stidston/coding-katas

Repository files navigation

Coding Katas

What are Coding Katas?

A coding kata is a programming exercise that helps developers hone their skills through practice and repetition. The term "kata" comes from martial arts, where practitioners perform detailed choreographed patterns of movements to perfect their technique.

In software development, katas help you:

  • Practice Test-Driven Development (TDD)
  • Practice building in small steps
  • Improve problem-solving skills
  • Learn new programming patterns
  • Experiment with different approaches to the same problem
  • Build muscle memory for good coding practices

Credit to Samman Coaching Katas for the kata descriptions.

Running Tests

To run tests for all katas:

./test.sh

To run tests for a specific kata:

./test.sh tennis

Creating a New Kata

To create a new kata project structure:

./create-kata.sh kata-name

This will create a new directory with the basic Go project structure including:

  • go.mod
  • kata-name.go
  • kata-name_test.go

Formatting

The format.sh script is used to automatically format your Go code according to standard Go conventions. To use it, simply run:

./format.sh

This will format all Go files in the current directory and its subdirectories.

About

Coding katas are a programming exercise that helps developers hone their skills through practice and repetition. Acknowledgements to Samman Coaching Katas

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •