One of the things I know I ran into long ago about learning to program ("how to use pointers") was that a lot of concepts, like pointers, need the right problem to see how they should be used. You can sit around and work on sample code all you want, but it may not help you really understand the why.
The point regarding shared libraries is that for certain cases, like the STL, there is a LOT of work that has gone into them. Many people can write the tools of the stl, but consider:
- The STL is fairly cross platform (I develop on 10+ with the same code)
- It is often fairly well optimized, with memory pooling, tight loops, etc
- It is far more bug free than things you are going to write, in all likelyhood.
- It is a well understood standard. I can write STL code, and other programmers immediately understand it.
|