4 ms·
because most of the first 10 years isn't as relevant anymore Maybe in JavaScript-land. But in C/C++, major databases, Unix at scale... laughably mistaken.
by gaius 9y ago
because most of the first 10 years isn't as relevant anymore
Maybe in JavaScript-land. But in C/C++, major databases, Unix at scale... laughably mistaken.
- adrianN 9y agoIf you still write C++ like it's 2001, you're doing it very wrong.
- pjmlp 9y agoUnfortunately many are still doing it like it's 1993. https://www.reddit.com/r/cpp/comments/8evtgy/why_is_modern_c_seemingly_not_being_taught/ https://www.reddit.com/r/cpp/comments/8evtgy/why_is_modern_c...
- gaius 9y agoThe experience of structuring programs in the large, mapping domain knowledge onto classes etc is all still just as valid. And don’t forget: there are plenty of codebases older than that that are still being actively maintained and developed.
- adrianN 9y agoSure, but asking somebody who only knows C++98 (or even pre-STL C++) to write modern C++ is pretty much like asking them to write Java. It's like learning a new language.
- gaius 9y agoAgreed, but that first 10 years of experience is still valuable and that person will be up to speed with C++14 or 17 very quickly. In my experience C++ people are eager to adopt new features of the language... I don’t think I’ve ever met one clinging stubbornly to pre-STL days...
- Const-me 9y agoOn Windows, STL is often too slow: https://github.com/Const-me/CollectionMicrobench/ https://github.com/Const-me/CollectionMicrobench/
- stevenwoo 9y agoEven with custom allocators, this is old but may still be relevant: https://www.reddit.com/r/gamedev/comments/25cdar/im_a_ps4_xbox_one_game_developer_ask_me_almost/chfwcqm/ https://www.reddit.com/r/gamedev/comments/25cdar/im_a_ps4_xb...
- kevin_thibedeau 9y agoSometimes you don't get the choice. My C++ compiler is saddled with a pre-98 standard lib with everything exposed outside of the (non-existent) std namespace. Templates and exceptions are disabled. No STL, No RAII. Can't code like it's 2017 when you're doing it 1980's style.
- adrianN 9y agoHaving worked in the embedded space, I know that pain all too well.