4 ms·
There is not a language as batteries-included as Go, that I've found. The standard lib includes almost everything, including an excellent HTTP server and clien
by cle 6y ago
There is not a language as batteries-included as Go, that I've found. The standard lib includes almost everything, including an excellent HTTP server and client (even an HTTP proxy), a test framework, JSON/XML/CSV libs, SQL driver, CLI parser, a template library, crypto, etc. The "go" command includes tooling like a package manager, unit test runner, code formatter, static analyzer, race condition checker, code coverage, profiler, cross-compiler, etc.
I don't know what you mean by "memory-management-free" though, Go is still a garbage collected language.
- Evidlo 6y agoI'd say Python has more batteries than Go. Also I recently learned Go's CLI parser is pretty weak compared to argparse.
- cp9 6y agoymmv there but for what I'm looking for Go is usually more helpful than python straight out of the box, specifically because you don't have to reach for a third party library to make simple http requests, which is what I often end up using a scripting language for. I did just pick up argparse though and was very pleasantly surprised about how nice it is, go's `flags` module in the stdlib is unfortunately not quite as nice and is one of the things I reach for a third party library on. However, because it's pure go it still compiles down to a single binary which you can just scp around.