I really like this idea because I like a lot about C (simple, little-to-no runtime) and a lot about go (multiple returns, explicit error checking, defer, struct tags, interfaces), but I like very little about C++, which people often suggest as a 'better C'. Of course you lose channels and goroutines, but depending on what you're working on that could be ok.
I really like this idea because I like a lot about C (simple, little-to-no runtime) and a lot about go (multiple returns, explicit error checking, defer, struct tags, interfaces), but I like very little about C++, which people often suggest as a 'better C'. Of course you lose channels and goroutines, but depending on what you're working on that could be ok.