logoalt Hacker News

billforsternztoday at 9:53 AM2 repliesview on HN

I like to program in a C++ subset that's basically C plus a sprinkling of ergonomic quality of life C++ features eg references and generic containers. I think of it as C+.

(Edit: No disrespect meant. I just thought such completely different language concepts potentially sharing the same name was kind of amusing)


Replies

inigyoutoday at 11:57 AM

Almost everyone that uses C++ uses a subset of C++ and it's always a different subset. (That's fine, that's because it's a "big tent" language philosophy)

netdurtoday at 11:30 AM

no worry, name is intentional, it's C + packages, language itself is tiny, strictly bounded by the C ABI, and doesn't include most of the features you'd expect in a language, even standard library is just a external package, so it's not a subset of C++ at all