May 30, 2020 03:26 pm GMT
Original Link: https://dev.to/patarapolw/how-can-i-learn-to-like-golang-and-use-it-a-lot-38dj
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.
- Actually, VSCode formatter can give colors to JavaDoc/JSDoc styled
- 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
- Actually, sometimes it is a monorepo, so
- Golang maker don't like vendorizing, like what
node_modules
do.- What do you recommend?
go mod
ordep
?
- What do you recommend?
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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To