> To learn a new language, read its standard libraryTo learn a new language, read its standard library Yes, but also no. The standard library is often more complex and uses more advanced features then you often need for most projects. I.e. collections in std are supper general purpose, but if you need to write a collection it's normally specific to the purpose you need it for. I.e. std is the "most" general purpose l…
Or it even uses patterns which would be considered anti patterns outside of it for the sake of optimizations.
Optimizations in standard libraries are generally good ones, and reading it can give a good idea of what is or isn't worth it.