Learning golang
I’ve been trying to learn Golang. Golang is such a charm to work with. The tooling feels like, it’s been developed with all the learnings and shortcomings of previous languages.
For example, There are no unused variables. Although it’s annoying to see error thrown when compiling for unused
variables at first. It quickly becomes obvious. Similarly go fmt
tool is used to format go code. Making sure that the code is formatted as expected and there aren’t a million different guidelines (which people barely follow). I personally think this method is better
Everything is made to just work out of the box. No riff raff. go mod vendor
and just compiling works flawlessly.
Looking at python and js. This is plain incredible to work with.
Learning Golang
Resources and stuff captured, while learning golang
package main
import (
"fmt"
"math/rand"
)
Articles
List of articles I found useful.
- https://nathany.com/good/
- https://jordanorelli.com/post/32665860244/how-to-use-interfaces-in-go
- https://go.dev/blog/error-handling-and-go
- https://morsmachine.dk/go-scheduler
Other resources
- gobyexample.com
Posts
🃏 Miscelaneous details about golang , Sep 19,'22
🚅 Benchmarking
👨🏻🔬 Effective go
👨🏻🔬 Go Tour
- 🐭 Learning golang 01 - Basics
- 🐭 Learning golang 02 - DS and algo
- 🐭 Learning golang 03 - Functions
- 🐭 Learning golang 04 - Goroutine