3 ms·
Interesting! I would say that the template library is one of the main reasons I reach for Go. If you want to have a microservice with a useful human-readable st
by jeffbee 6y ago
Interesting! I would say that the template library is one of the main reasons I reach for Go. If you want to have a microservice with a useful human-readable status page that tells the operator all about the application's internals, it is a snap in Go, while in C++ you'll be pulling your hair out.
- nicoburns 6y agoHave you tried langauges other than C++ and Go? Almost anything makes you pull your hair out in C++!
- skrtskrt 6y agoTrue, and it is nice to have the capabilities in the stdlib. I just don't like the hierarchy setup, poor docs, and lack of errors/warnings when you get it wrong. I guess I am just used to Python where there are 1-2 all-star 3rd party packages for each use case that the community tends to coalesce around. Rust appears to be heading in a similar direction. Since Go has so much web/http stuff baked in, it is more likely that must people just stick with the stdlib approach, even if it's a bit of a PITA.