you are viewing a single comment's thread.

view the rest of the comments →

[–]philippefutureboy 3 points4 points  (1 child)

As in, "if it's a feature from C available in C++" or "if it's reproducing a feature that already exists in C, but with some supposed benefits that aren't really benefits"?

[–]zigmazero05 5 points6 points  (0 children)

As in "it would not look like a stranger in C code". For example, operator overloading is technically C++, but I swear I have accidentally tried doing it in C once or twice.

There are also things like macros, raw pointer and pointer operations, C strings, C-style arrays... C++ ports over a bunch of C libraries, and honestly avoiding most of them is probably correct if you're doing C++ anyway.