|
|
|
|
|
by Jeema3000
5584 days ago
|
|
But the main reason it's not as clean is because it has had to maintain backwards compatibility with C, which is 40 years old now. Ironically, had C++ been 'cleaner' and not as backwards compatible with C from the outset, then we probably would not be having this conversation today because no one would have ever adopted it. :) |
|
C is a very simple and elegant language. You can write down the specs for it on a dinner napkin. And implement a compiler for it overnight.
C++, on the other hand? A fully compliant compiler for it took over a decade.