3 ms·
I think we're kind of agreeing. Proponents like to portray C++ as a high-level language. That's why they insist on using it instead of C. "No more manual memory
by notacoward 8y ago
I think we're kind of agreeing. Proponents like to portray C++ as a high-level language. That's why they insist on using it instead of C. "No more manual memory management" they say, except that having to manage the compiler's handling of copies and scope exits is every bit as bad. "No more dangerous bare pointers" except that null-pointer exceptions occur just as often in C++ code as in C. That's why I distinguished it from real higher-level languages at the start. Anyone who has worked in such knows C++ doesn't meet that standard, but its proponents make the claim anyway.
- paulddraper 8y agoWe are agreeing, except my statement "I doubt you'll find many people who are would say 'C++ is intended to be a true high-level language'". If that is actually how C++ is being sold that is indeed wrong. Same if that's how Rust were hypothetically being sold. Both make you think really hard about ownership for purposes of faster memory management. They're not "true high-level lanaguages". They are systems languages with zero-cost abstractions where possible.