Remind me again why we can't use Pascal? (Except that it's corny, looks funny and I scoffed at it as a youngun.)
I wonder what "C with x" would look like, where x is:
- real composable types
- checked arrays
- maybe some pointer checks?
But no:
- inheritance
- objects
And also very compatible with plain C, not sure if 100% language compatible would be a good idea. Keeping compatibility with C was one contributing reason C++ became so complicated.
But keeping linker and header compatibility would be a godsend.
Maybe realistically what I want is Zig, I realise it's the closest existing fit, even though it has metaprogramming and the syntax is a bit different from C.
I should really learn it to see if I would be happy with it. Currently my go-to languages are C++ if I have the time, C# if I don't and Python if I just want to explore thoughts.