4 ms·
C++ requires a lot more code because it is so clunky and inflexible. Swift is just a lot better language which is why you can get away with much shorter code f
by socialdemocrat 4y ago
C++ requires a lot more code because it is so clunky and inflexible. Swift is just a lot better language which is why you can get away with much shorter code for the same functionality.
I spent 15 years doing C++ and read so many books but always felt the language would get in the way. When switching to the Swift stuff just worked the way it should. No need to read tons of books to find clever tricks to get around inherent limitations of C++.
C++ was good for it’s time but it is strange that people think one cannot radically improve on what C++ is with newer languages. It is tied down with backwards compatibility with a 50 year old language.
That had lots of advantages, but downsides has caught up with advantages.