Update
- Learning by doing: the Exercism exercises: nth-prime, atbash-cipher, and phone-number
- Reading: pages 37 to 43 of Concurrency in Go (‘Go’s Concurrency Building Blocks’ chapter: Goroutines, and intro the
WaitGroup
s — the first part of Thesync
Package) - SRified and added to SR:
cap
function for slice capacity- using
make
to create slices (both arities, and common pitfall of appending to a two-arity-make created slice when you actually wanted to specify the capacity of a 0-length slice in themake
instead) - empty slices, empty slice literals, diff w/
nil
slices clear
function to clear slice values
Reflection
Could def be doing more on the doing side. I’d like to polish off at least one boot.dev lesson per (week)day, maintain the streak (currently have a ton of Frozen Flames, so there’s a buffer, but still); ideally two or three, or more. ~3 Exercism exercises per day seems reasonable.
WRT reading, I’m aiming for a chapter for lighter material (like Learning Go), and a few sections for heavier (like some of the concurrency stuff, possibly).
After having found that the current SR load is easy enough, I’m comfortable upping the SRification process to be around twice what it is now, maybe even thrice. So I’ll aim for four seven pieces or chunks SRified every day.
This will be the new target going forward:
- 1-3 lessons on boot.dev; 3 Exercism exercises (currently easy)
- Reading 1 chapter of Learning Go
- 4-7 chunks or SRification