rmoff's random ramblings
about talks

Go

Jul 8, 2020
Jul 8, 2020

Learning Golang (some rough notes) - S02E00 - Kafka and Go

With the first leg of my journey with Go done (starting from a very rudimentary base), the next step for me was to bring it into my current area of interest and work - Apache Kafka.

Jul 3, 2020
Jul 3, 2020

Learning Golang (some rough notes) - S01E10 - Concurrency (Web Crawler)

👉 A Tour of Go : sync.Mutex

In the previous exercise I felt my absence of a formal CompSci background with the introduction of Binary Sorted Trees, and now I am concious of it again with learning about mutex. I’d heard of them before, mostly when Oracle performance folk were talking about wait types - TIL it stands for mutual exclusion!

Jul 2, 2020
Jul 2, 2020

Learning Golang (some rough notes) - S01E09 - Concurrency (Channels, Goroutines)

A Tour of Go : Goroutines was OK but as with some previous material I headed over to Go by example for clearer explanations.

Jul 2, 2020
Jul 2, 2020

Learning Golang (some rough notes) - S01E08 - Images

👉 A Tour of Go : Exercise: Images

This is based on the Picture generator from the Slices exercise.

Jul 1, 2020
Jul 1, 2020

Learning Golang (some rough notes) - S01E07 - Readers

👉 A Tour of Go : Readers

I’m not intending to pick holes in the Tour…but it’s not helping itself ;-)

For an introductory text, it makes a ton of assumptions about the user. Here it introduces Readers, and the explanation is good—but the example code looks like this:

Jul 1, 2020
Jul 1, 2020

Learning Golang (some rough notes) - S01E06 - Errors

👉 A Tour of Go : Exercise: Errors

Like Interfaces, the Tour didn’t really do it for me on Errors either. Too absract, and not enough explanation of the code examples for my liking. It also doesn’t cover the errors package which other tutorial do. I’m not clear if that’s because the errors package isn’t used much, or the Tour focusses only on teaching the raw basics.

Jun 30, 2020
Jun 30, 2020

Learning Golang (some rough notes) - S01E05 - Interfaces

👉 A Tour of Go : Interfaces

This page really threw me, for several reasons:

  • The text notes that there’s an error (so why don’t they fix it?)

  • The provided code doesn’t run (presumably because of the above error)

  • It’s not clear if this is a deliberate error to illustrate a point, or just a snafu

Jun 29, 2020
Jun 29, 2020

Learning Golang (some rough notes) - S01E04 - Function Closures

👉 A Tour of Go : Function Closures

So far the Tour has been 🤔 and 🧐 and even 🤨 but function closures had me 🤯 …

Each of the words on the page made sense but strung together in a sentence didn’t really make any sense to me.

Jun 29, 2020
Jun 29, 2020

Learning Golang (some rough notes) - S01E03 - Maps

👉 A Tour of Go : Exercise - Maps

Implement WordCount

This is probably bread-and-butter for any seasoned programmer, but I enjoyed the simple process and satisfaction of breaking the problem down into steps to solve using what the tutorial had just covered. Sketching out the logic in pseudo-code first, I figured that I wanted to do this:

Jun 25, 2020
Jun 25, 2020

Learning Golang (some rough notes) - S01E02 - Slices

Note
Learning Go : Background

👉 A Tour of Go : Slices

Slices made sense, until I got to Slice length and capacity. Two bits puzzled me in this code:


Robin Moffatt

Robin Moffatt works on the DevRel team at Confluent. He likes writing about himself in the third person, eating good breakfasts, and drinking good beer.

  • ««
  • «
  • 1
  • 2
  • 3
  • »
  • »»

Story logo

© 2025