Re:To learn a new language, read its standard library
by cyber_kinetist on Sunday October 24, 2021 @09:00PM
(#28983465)
My gripe with C++ is that you need to know so many things to build even the most basic abstractions. When writing a custom data structure you always end up with having headaches about the specifics of std::iterators and rvalue references and all that jazz rather than focusing on the actual algorithm. There’s a reason why people want to go back to Orthodox C++ (using C++ as C with a few extra features)
Re:To learn a new language, read its standard library
by catlifeonmars on Sunday October 24, 2021 @10:35PM
(#28983972)
This. Want to define a class? Remember the rule of 3 (or is it 5?).
[0] https://www.fluentcpp.com/2018/05/08/std-iterator-deprecated...