-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea92c3f
commit 6718ae8
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,9 @@ techniques so they can be executed and adapted under different circumstances, | |
without thought or hesitation. Let's try the same with Go code. | ||
|
||
The approach is pretty low-tech. Go katas is a list of directories containing | ||
brief, well written Go programs. You are supposed to try and understand them and | ||
be rewriting them from scratch or partially. There's a command to show katas and | ||
your progress: | ||
brief, well written Go programs. Select one of them, try and understand it | ||
and be rewriting it partially or from scratch. There's a command to show the | ||
Go katas and your progress with them: | ||
|
||
``` | ||
$ go run ./cmd/gokatas -c 2 | ||
|
@@ -27,9 +27,11 @@ Initial setup: | |
|
||
1) [Install Go](https://go.dev/doc/install). | ||
|
||
2) [Fork](https://github.com/jreisinger/gokatas/fork) and then clone the repo: `git clone [email protected]:<you>/gokatas.git`. | ||
2) [Fork](https://github.com/jreisinger/gokatas/fork) this repo so you have your own copy. | ||
|
||
3) Clone the fork to your computer: `git clone [email protected]:<you>/gokatas.git`. | ||
|
||
3) Start practicing (remove contents from `katas.md` unless you are me :-). | ||
4) Clear contents of `katas.md` (unless you are me :-) and start practicing. | ||
|
||
It's important to practice regularly because repetition creates habits, and | ||
habits are what enable mastery. Start by taking baby steps. Set a goal that you | ||
|
@@ -39,4 +41,4 @@ engine or an AI model if you don't understand something. After some time it will | |
require much less will power to practice. Your programming moves will start | ||
looking simpler and smoother. If you feel comfortable enough with a kata, stop | ||
practicing it and pick another one that interests you and is slightly beyond | ||
your current ability. | ||
your current ability. |