It’s Letter #0, and we’re starting it off with a new feature idea!
If you missed one of the related articles written by our very own “ThePhD”, catch it here. Essentially, the gist of it is that C doesn’t have the built-in language tools to solve some of its most pressing existential problems. This doesn’t mean C (and, by extension, C++) can’t be used to make great APIs, it just means that C’s ability to evolve into something better and handle greater use cases it a little questionable!
For that reason, we’re thinking about actually introducing a new feature to C. We might even get to prototype it out in GCC or Clang! But, the idea is very simple. If you’re used to C++’s “type aliases” or C’s “typedefs”, then the concept here is pretty straightforward for a new feature. Here’s the core idea, using made up syntax: