Learning Golang, Day 14 – Removing Code Duplication
Today, on day 14, I created a custom method to remove code duplication creeping into the weather station codebase. Come read the fun story behind getting that done.
For the longest time, I’ve been meaning to learn another software development language in-depth, in addition to my primary development language, PHP. I’ve decided that the language is Go. In this series, I share what I’m learning about Go, as I’m learning it.
Today, on day 14, I created a custom method to remove code duplication creeping into the weather station codebase. Come read the fun story behind getting that done.
Here we are on day 13. Today, I continued learning Golang by working on the Golang version of my PHP/Python weather station, adding a function to render static pages. Let me share my learnings with you.
Here we are on day 12. I didn’t solve anything. I’m feeling that these exercises are becoming arbitrary and pointless.
Here we are on day 11, where I solved the Stringers Exercise.
Here we are on day 10. Today I read about and played with Type Assertions, Type Switches, and Stringers in Go.
Here we are on day 9. Today, I dove down a proverbial rabbit hole. While intending to learn more about Go’s Empty Interface, I ended up reading about Abductive and Deductive reasoning, and Duck, structured, and nominal typing.
Here we are on day 8. Today, I started learning about methods, pointer receivers, and interfaces.
Here we are on day 7. Today, I started learning about closures!
Here we are on day 6 – the start of the week two. Today, was a slower day, where I focused on one topic, maps!
Here we are on day 5 – the end of the first week. Today, I solved the Slices exercise!
Here I am at day 4. Today, I learned about the range function and started the slices exercise…but got stuck.
Here I am at day 3. Today, I started learning about pointers, arrays, slices, and structs!
Today was a slightly slower day for learning Go than was yesterday. However, I learned about flow control statements, and defer, panic, and recover.
For the longest time, I’ve been meaning to learn another software development language in-depth, in addition to my primary development language, PHP. I’ve decided that the language is Go.