Wanting to learn

I started writing BusyBarApp in GoLang where I mainly just made REST APIs. I also worked on the distributed RL Mesh in GoLang as well. Now, to practice my GoLang. I’ll be doing the Advent of Code 2026 in GoLang (which coincides with finals of my 4A term and might take forever).

Things I’ve noticed

  • Printing slices in GO print space separated elements instead of comma separated elements lol
  • There is no while loop???
  • There is no set, you need to use a map to struct{}{} as a workaround
  • There are these things called “receivers“ which are the first thing here in
    • func (s *GracefulServer) BlockingClose() bool
    • This is the thing you call the method from (like a class method in OOP where you normally need to instantiate a class and then call the class method from the instance. This is this)

Error Handling

Very explicit is very nice.

Misc

  • defer defers the execution of a function until the surrounding function returns

Packages

No weird import workaround hell like there is in Python…

  • Just func CapitalFunctionName() and import from package
  • See Pointers