Re:To learn a new language, read its standard library
by DangitBobby on Sunday October 24, 2021 @08:35PM
(#28983320)
It's just a little bit more work to write a non-trivial program in Go than in a scripting language such as Python, so if you need/want the good tooling and you need/want the significant speed improvement, it could be a good choice.
[ Parent
| on HN ]
Re:To learn a new language, read its standard library
by __turbobrew__ on Sunday October 24, 2021 @09:31PM
(#28983617)
Go doesn’t have the libraries of python however. In certain computing domains you would first have to spend 10 years rewriting the python frameworks in golang before you could even be on parity with python.
I am most familiar with scientific computing and GIS applications — python is miles ahead of golang in ecosystem support in those domains.
Re:To learn a new language, read its standard library
by remexre on Sunday October 24, 2021 @09:38PM
(#28983655)
For scripting and "just throwing something together for internal use," Python is a pretty traditional choice, but I think Go is able to outclass it for maintainability -- static typing and somewhat better package management are a big help, and Go has a comparable ecosystem.
Re:To learn a new language, read its standard library
by marsdepinski on Sunday October 24, 2021 @10:42PM
(#28984003)
We'll see in another ten years
Re:To learn a new language, read its standard library
by kbenson on Sunday October 24, 2021 @10:04PM
(#28983795)
If that was a useful argument for the future we'd all still be using Perl.
I mean, I still write a lot of Perl, but everyone else would be too.
Re:To learn a new language, read its standard library
by Zababa on Monday October 25, 2021 @09:34AM
(#28987589)
And if this wasn't a useful argument many more people would use OCaml, Crystal, D, etc ; and every new language wouldn't be met with "I like it but it doesn't have the libraries I need so I'll keep writing Java".