Skip to content

gokatas/gokatas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go katas are small programs meant to show and teach Go programming techniques. To understand and remember these techniques install the gokatas CLI tool

go install github.com/gokatas/gokatas@latest

and repeatedly do this simple practice cycle 🥋:

  1. Choose a kata
gokatas -sortby lines -wide
git clone https://github.com/gokatas/<kata>.git
cd <kata>
  1. Read the kata and try to understand it
code .
  1. Delete (some of) the kata and try to write it back
git diff
  1. Track your progress to stay motivated
gokatas -done <kata> -sortby last -report

It's important to practice regularly. Start by taking baby steps. After some time it will require much less will power to practice. And your programming moves will start looking simpler and smoother.