46 ms·
If you use golang, I can’t recommend reading parts of the standard library enough. Make sure you can jump to source easily! This is true for many languages (les
by parhamn 6y ago
If you use golang, I can’t recommend reading parts of the standard library enough. Make sure you can jump to source easily! This is true for many languages (less interpreted ones that are partly in C). Given how there are very few ways to do things in go, the libraries are very clear, concise, and performant. For interfaces I’d start at the io or http package.
- steve_adams_86 6y agoThis comment and the post are actually very helpful, thanks. I hadn’t taken much time to look at io or http from this perspective, but I already see the value. Coming from more dynamic languages, Go has been a little funny to get used to, but I’m seeing the convention very clearly in these packages.
- ghthor 6y agoWhen I picked up go back during the original announcement, it was a breath of fresh air coming for c++. The std library was so easy to follow and understand compared to c++. Go's std library will teach how to write go, how to solve problems the go way and it's very approachable.
- FpUser 6y agoYeah, C++ std was created to be used, not to be looked at, unless one wants to loose sanity ;) Using it however especially with the smart IDE is a breeze for the most part.