3 ms·
Hi Walter, I've been learning to program in C, and I enjoy it. The problem is that while I wish to write C, I do want some additional conveniences afforded by o
by Decabytes 4y ago
Hi Walter,
I've been learning to program in C, and I enjoy it. The problem is that while I wish to write C, I do want some additional conveniences afforded by other languages. I think the traditional way people go about this is using C++ kind of like a C+. There are also people who use Zig. I'm not a fan of Zig, and I don't like how C++ doesn't always behave like C even when you write in the C style.
How does BetterC stack up to Zig and C++ in this situation? Does it allow me to write plain C but with some of the conveniences of D?
- WalterBright 4y agoBetterC includes all of the features of D except the ones that require the D runtime library, which means everything except exception handling and operator new and array concatenation. You've still got full use of metaprogramming, compile time function execution, modules, Unicode, all the memory safety features, etc. > Does it allow me to write plain C but with some of the conveniences of D? Heck yeah.