| >Have you looked at the source for (say) your Standard Library implementation? All the time, why would this be unusual? I actually find myself often looking over MSVC's implementation straight in VS and comparing it to libstdc++: https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-... One recent thing I caught from going over the implementation was how MSVC's implementation of std::tuple is semantically different from GCC's, where GCC constructs left to right, but MSVC constructs from right to left. I also debug through boost and have reported bugs, or just found bugs in it that had already been reported. Qt is another library that I am constantly reading over, heck if anything just for the sake of learning interesting UI implementation techniques. Anecdotally, I find it unfortunate that people who talk about how they've been programming in C++ for 30+ years are almost always the ones who have very backwards and archaic practices and talk about those practices like they are common place. "I've been programming in C++ for 500 years and never once have I had to do this, therefore it follows that no other C++ developer will ever have to do it either!" There are entire generations of developers who've learned C++ and use it in ways very different from you, in technical domains you may not even realize exist. Don't presume that just because you personally have never done something, that it can't possibly be relevant or useful to an entire community of developers using the same technologies as you but in different ways. |