2 ms·
C++'s attempts to modernize usually mean adding features with maintaining backwards compatibility. It's like adding new paint to a bucket of brown paint - thing
by pcthrowaway 4y ago
C++'s attempts to modernize usually mean adding features with maintaining backwards compatibility. It's like adding new paint to a bucket of brown paint - things never really get better.
I think the percent of programmers who can keep the language in their head all the time is very low.
There are minefields everywhere.
This is sounding a surprising amount like Javascript at this point. Not hating on JS, but it has significantly changed over the years while maintaining backwards compatibility.
Looking at a codebase I can pretty much pinpoint when it was written (± 3 years).
I shudder at the thought of people who onboarded in JS in the last 2 years coming across a 20-year-old codebase though.
- danbolt 4y agoI think the two languages share a lot of interesting traits, but in unique ways: - Widely deployed in a variety of contexts (web, embedded, desktop applications, etc.) - Relatively spartan standard library - Variety of build setups and toolchains (eg: Make, CMake, Bazel, Babel, gulp, etc.) - Variety of dialects and trends (eg: classes v/ prototypes, RAII, boost, handlebars.js)