| ▲ | uecker 5 hours ago | |||||||||||||||||||||||||||||||||||||||||||
Having used C++ a lot in the past, I think the mess in C++ is way worse. I also contribute to projects that introduce C++ into a C code base, and I really wish they hadn't done this. Although there are C features I like that I would need to remove before introducing C++ to a codebase, so this may not always be so simple. | ||||||||||||||||||||||||||||||||||||||||||||
| ▲ | Panzerschrek 4 hours ago | parent [-] | |||||||||||||||||||||||||||||||||||||||||||
> the mess in C++ is way worse What is mess in C++? Yes, it has some shady parts and is more complex than C, but this complexity provides expressiveness and type safety. And you can always use only features from C++ you find useful. > also contribute to projects that introduce C++ into a C code base, and I really wish they hadn't done this. What is problematic in these projects other than unfamiliarity of C++ for developers previously used only C? | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||