Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> C++ while has source compatibility with C

It doesn't really, some things from C won't compile in C++, but that's a minor nitpick



I guess people mostly take source compatibility to mean that you can write the headers for your C library so that it can be used from C++. That's not the same thing as C being a proper subset of C++ or whatever, but it's still a vast enough advantage of C++ over most competitors that it might as well be.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: