Well, IMO there is no strong reasons to specifically learn Go except that it is easier to start with. But IMO JS is not a perfect language and hence JS developers would greatly benefit by learning a few other languages which will help to make them more pragmatic. It helped me for sure.
Golang has a massive number of benefits over many other languages. However, "a JavaScript developer" is too vague a concept to list any specific benefits to them.
Some significant benefits:
Quick compilation time
Good ecosystem with lots of well made libraries
Widespread standardization and tooling for e.g. automatic code formatting and static analysis
Compiles easy to distribute binaries without external dependencies
Cross-compilation is easy in most cases (I believe as long as you don't link to C code), so you can just set up one build pipeline and loop through a number of GOOS and GOARCH variables and get the build results easily
Concurrency is incredibly well handled in Golang - no need to worry about threads and other such things manually, but it's easy to control when things are executed in parallel and to communicate between "goroutines"
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well, IMO there is no strong reasons to specifically learn Go except that it is easier to start with. But IMO JS is not a perfect language and hence JS developers would greatly benefit by learning a few other languages which will help to make them more pragmatic. It helped me for sure.
I've learned a bit of Go and I agree it is a clear straight forward language, which makes it easy to learn, very similar to Python in those regards.
Golang has a massive number of benefits over many other languages. However, "a JavaScript developer" is too vague a concept to list any specific benefits to them.
Some significant benefits:
GOOS
andGOARCH
variables and get the build results easily