3 ms·
I often find that you need to read a page-long faq (which is an improvement over reading mailing list flame wars over boost vs raw stl vs library-du-jour) to fi
by makmanalp 12y ago
I often find that you need to read a page-long faq (which is an improvement over reading mailing list flame wars over boost vs raw stl vs library-du-jour) to figure out the "right" way to do anything in C++. Now knowing my way around it reasonably well, it's not an issue for me anymore, but not a newcomer.
It's so easy to do it the wrong way, and there's so many examples of badly written or non-idiomatic C++ code strewn all over the internet that a newbie is bound to fall into that trap. This is the same kind of problem I (used to) see with PHP, that it can be fine if you do it all the "right way" and don't do "stupid stuff" but it takes a while to learn what those are. What happens in reality is they google "how to do x", copy paste the code, and modify. Who cares if it's idiomatic or anything.