Shanraq.org Shanraq.org

Publishing archive

Thursday, 3 September 2026

Thursday

September 2026
MonTueWedThuFriSatSun
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

The highlighted days are the ones with something published; those are clickable.

IT

Maps in Go: key and value

The ninth lesson of the Go course. A map is a pair of key and value that finds an entry at once instead of walking a list. How to write and read one, why a missing key hands back zero rather than an error, what comma-ok is, why Go shuffles the iteration order on purpose, and how a nil map is more dangerous than a nil slice.

IT

Arrays and slices in Go: a list that grows, append, len and cap

The eighth lesson of the Go course. The array a slice is made of, and the slice itself: []string, append, and why the result must always be assigned back. How an array differs from a slice on assignment, how length differs from capacity, and the trap that matters most — a piece of a slice looks into the same memory as the original.