by skocznymroczny · 7y ago · 0 comments
The problem is, betterC is kind of in that awkward spot. It's not comparable to the "real" D, and if you can live with betterC, you might as well just use C and enjoy the wide C ecosystem.
This means you can write C and use the entire wide C ecosystem, but use D for the parts of the program which make sense in D, painlessly.
If you can be bothered to use betterC then that's probably not true. To be argumentative, C is fucking horrible. BetterC still gives you a decent chunk of D's features - templates alone make it worth the switch. No more macro spam for example.
Can you imagine how much boilerplate you'd have to write to mimic this: https://d.godbolt.org/z/3XNBFW