General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
ThePrimeTime
comments
Comments by "" (@pierreollivier1) on "Creator Of C++ On How Long To Learn A Language | Prime Reacts" video.
It's not really about the "way" to solve a problem and more a rant about the "way" to express it. In C++ and Rust there is 100's of "way" to express something, none of them fundamentally affect the "way" to solve the problem just the syntax and pattern vary which is problematic. On top of that C++ has something that Rust doesn't have that much, is that every of this "ways" of expressing something, comes with a package of subtle differences and edge cases that when combined together lead to widely different experience depending on what features and syntax you used to express something. But If you write C style C++ you get all the benefits of the language with none of it's shortcoming. Like C++ with struct only is fairly easy to understand and debug, compared to C++ with Classes which is ok if you don't use inheritance, but C++ with the whole full pack of 30 different constructor/destructors, templetized and what not with move/forward semantic aware patterns, virtual and inheritance etc is like so complex for no benefits at all unless you are paid by the hour.
5
@LogenVonSchlenz I know but just using structs mentally force you to not use C++ features. Which makes programming and especially debugging a lot more enjoyable.
1