7 ms·
No batteries!? Go has a huge stable standard library no other language even comes close to. Built in tooling for unit testing, performance testing, debugging, c
by sly010 4mo ago
No batteries!? Go has a huge stable standard library no other language even comes close to. Built in tooling for unit testing, performance testing, debugging, code formatting, package management, etc. And most go binaries can be compiled statically so libc is not even a dependency. Golang is the definition of batteries included.
- coldtea 4mo ago>Go has a huge stable standard library no other language even comes close to Well, Java and Python do.
- walthamstow 4mo agoYet the first thing most people do before making a HTTP request is pip install requests
- coldtea 4mo agoYet, a nicer request wrapper is not the be all end all of batteries, and Python covers a huge spread of libs
- IshKebab 4mo agoPython has a quite random collection of stuff, and it's often quite low quality and people don't use it anyway. I wouldn't say it is close to Go. I haven't used Java for a decade or so but as I recall its standard library was pretty bare bones (similar to Rust). Apparently C# has a pretty comprehensive standard library but I've never used it.
- coldtea 4mo ago>Python has a quite random collection of stuff, and it's often quite low quality and people don't use it anyway. I wouldn't say it is close to Go. People who came into Python for ML and Data Science, and just care for their array and ML libs maybe. But long time Pythonistas absolute use Python's standard library - and it's hardly "quite low quality". "Batteries Included" is one of the community slogans.
- hirvi74 4mo ago> Apparently C# has a pretty comprehensive standard library but I've never used it. I use C# more days than not. The comprehensive standard lib is impressively large and accomplished everything I need. Third-party libraries is a real pain point though. I haven't looked in sometime, but things like sane PDF libraries, reporting libraries, etc. were severely lacking when I needed them last. As much disdain as I have for Java, I think it is better in that regard.
- za3faran 4mo ago> I haven't used Java for a decade or so but as I recall its standard library was pretty bare bones (similar to Rust). Even a decade ago (and more) the collections library in the Java standard lib was second to none. It's standard lib only got better since then (e.g. `HttpClient`).
- mrsmrtss 4mo agoC# (.NET) would probably be the winner here. Go standard library is rather minimalistic compared to it.
- wiseowise 4mo ago> Go has a huge stable standard library no other language even comes close to. Java, C#, Python, Node.
- hirvi74 4mo agoNot my words, lol. It's what people say about the language. But thank you, this was the type of answer I was looking for.