Hacker News new | ask | show | jobs
by germandiago 1320 days ago
> C++ as a whole should be deprecated -- and no new projects should use C++ (unless for some very odd and specific reason)

Too bold statement. There are still lots of reasons to keep using C++. LOTS.

3 comments

There are lots of reasons to keep using C++ on existing projects in C++ but there are not many reasons to choose C++ for a new project.
That's only true if you're writing code with zero dependencies, which is rarely the case.
Not only that: toolchains, IDEs, static analyzers, mature frameworks for Protobuf, Capnproto, C compatibility, Python wrapping of APIs including little friction: deriving classes and exception conversion in pybind11 for example...

There are lots. It is just that some ppl think real world is just like when they sit down to code a zero-dep, no time-pressure thing.

This is exactly equivalent to saying that all existing C++ coders should be demoted or fired.

It is, among worse things, damned rude.

The only thing worse would be if you were a C++ programmer in the coal industry...
how does that look?
I can see why for legacy projects, but for new projects, what are they?
Over C, Assembly, Rust, etc.?