3 ms·
Yep, and this is not actually the main reason not to use c++ forever ever. A c++ compiler, even naive, is out of reach from a small team of average skilled dev
by sylware 4y ago
Yep, and this is not actually the main reason not to use c++ forever ever.
A c++ compiler, even naive, is out of reach from a small team of average skilled devs or individual dev and that, in a reasonable amount of time and effort. And it is solely due to its abysmally complex syntax (btw, its ABI is a nightmare too). This is an absolute and unquestionable truth, not subject to any opinion.
This reason alone is sufficient to avoid c++ and the strength of the words are fair.
The bazillions of other reasons to avoid c++ are just cherries on top. One of my favorites is the tendancy of devs to design software maximizing the usage of the syntax, which, due to the syntax abysmal complexity, create beyond sanity software Rube Goldberg Machines.
And C has already a way too rich syntax, it is just one of the less worse compromises.
I seriously start to think that open source communities should move to assembly, namely to maintain several assembly code paths (one for each pertinent hardware arch), and only have a C reference implementation and or binary specs if pertinent.
I am personally trying to move towards that, with more and less success: I did the mistake to abuse, seriously, the macro preprocessor of the assembler of few times, and while looking at the mirror I saw exactly what I don't want to become.