zlacker

[parent] [thread] 3 comments
1. Goblin+(OP)[view] [source] 2026-02-03 15:42:07
C++ is more C-like than Zig and Rust, so it's more likely to become a C replacement.
replies(2): >>LexiMa+z9 >>bnolse+qV6
2. LexiMa+z9[view] [source] 2026-02-03 16:19:36
>>Goblin+(OP)
I do feel like allowing for in-place source upgrading was critical to C++'s early successes. However, I feel like this ultimately worked against C++, since it also wed the language to many of C's warts and footguns.
replies(1): >>Walter+pH
◧◩
3. Walter+pH[view] [source] [discussion] 2026-02-03 18:31:24
>>LexiMa+z9
C++ cannot seem to let go of the preprocessor, which is an anchor hurting the language at every turn.

BTW, in my C days, I did a lot of clever stuff with the preprocessor. I was very proud of it. One day I decided to replace the clever macros with core C code, and was quite pleased with the clean result.

With D modules, imports, static if, manifest constants, and templates the macro processor can be put on the ash heap of history. Why doesn't C++ deprecate cpp?

4. bnolse+qV6[view] [source] 2026-02-05 12:41:10
>>Goblin+(OP)
Except for all the baggage it carries along with it including hacks to address baggage resulting in a very bloated language.
[go to top]