By using a standart library, you take advantage of the knowledge of the experts who wrote it and the experience of those who used it before you.
Every programmer should be familiar with the contents of
To summarize, don’t reinvent the wheel. If you need to do something that
seems like it should be reasonably common, there may already be a class
in the libraries that does what you want. If there is, use it; if you
don’t know, check. Generally speaking, library code is likely to be
better than code that you’d write yourself and is likely to improve over