4 ms·
Modern C++ is in some ways more boilerplate and more messy. I am so done with C++. Swift solves such a large list of C++ problems. Modern C++ solves very few of
by socialdemocrat 4y ago
Modern C++ is in some ways more boilerplate and more messy. I am so done with C++. Swift solves such a large list of C++ problems. Modern C++ solves very few of the problems I have experienced with C++ over the years.
I get that people stick to C++ because it is too costly to port. But it doesn’t make a lot of sense to stick to C++ if you got the option to use Swift, Rust or Go.
Swift avoids null pointers, undefined static initializations and de-initialization order, virtual call disasters when calling a virtual from a constructor. Protocol oriented programming solves a lot of problems you tend to run into in C++ when doing object-oriented programming.