Pacharapol Withayasakpunt Pacharapol Withayasakpunt
Sat 30 May 2020

How can I learn to like Golang? (and use it a lot)

Well, I did complain, in order to change my point-of-view,

I don't Golang because,

  • I cannot set nil a variable (unless it is a pointer, but not sure if it is recommended to do so?)
  • GoDoc is restricted to // and isn't Markdown friendly. gofmt doesn't recognize /** */.
    • Actually, VSCode formatter can give colors to JavaDoc/JSDoc styled /** */ as well.
  • Centralized ~/go/pkg/packages/github.com/<NAME>/<PROJECT> structure, instead of my custom ~/projects/<PROJECT> structure
    • Actually, sometimes it is a monorepo, so ~/projects/<PROJECT>/packages/backend
  • Golang maker don't like vendorizing, like what node_modules do.

Rust's Cargo seems to be more happy with me, but it is a different language.

The response for the community is quite helpful.

How can I learn to like Golang? (and use it a lot)

How can I learn to like Golang? (and use it a lot)

I don't Golang because, I cannot set nil a variable (unless it is a pointer, but not sure if it is...