2 ms·
TBH, C++ has changed so much that any opinion from 2007 isn't worth much today, and that applies no matter if you think C++ got better or worse since then ;)
by flohofwoe 3y ago
TBH, C++ has changed so much that any opinion from 2007 isn't worth much today, and that applies no matter if you think C++ got better or worse since then ;)
- Y_Y 3y agoFurthermore the boost features used in the "better" example are now standard parts of the language and niether example looks good relative to "modern" C++17. (Though new problems have been introduced too, e.g. overuse of `auto`.)
- Suro 3y agoAgree, and I suspect that a lot of things will also be deprecated by 2030 once modules get really integrated in the ecosystem.
- mrkeen 3y agoToday is just tomorrow's yesterday. I'll just avoid C++ for now, and wait for future articles to say that the C++ of 2023 was too complicated to use.
- timomax3 3y agoIt is still valid.. it would be invalid if C++ removed old features, but it doesn't.
- sgerenser 3y agoValid only in the sense of “we can improve on this old way of doing things.” Not valid in the sense that using boost for foreach and function objects would make absolutely no sense since C++11 which has those features built in, and with cleaner syntax.