22 ms·
D is not a C replacement. It's more targeted at C++. Honestly, I prefer D to C++, but still prefer C to D. I would say the biggest turn off to C is generally it
by anfilt 7y ago
D is not a C replacement. It's more targeted at C++. Honestly, I prefer D to C++, but still prefer C to D. I would say the biggest turn off to C is generally it's very small STD library. While there are a lot C libraries that exist to achieve certain things it's not part of STD C. It's not part of the "out of box" experience.
It also depends on what your programing if you looking at system level stuff currently the two languages I would look at are C and Rust. Heck even for some system stuff your still required to use assembly.
Anything else choices are more flexible and productivity might matter more.
Honestly, despite C's flaws very few languages occupy it's niche and flexibility. Like you have to be doing something right to some degree to last almost 50 years. I would say a lot this comes down to C's simplicity yet still having a lot of power as a language.