Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 30, 2020 03:26 pm GMT

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 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.


Original Link: https://dev.to/patarapolw/how-can-i-learn-to-like-golang-and-use-it-a-lot-38dj

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To