3 ms·
> it just means you have to add types to a type table -- and probably open and close scopes -- while parsing Which is a flaw that other languages don't have to
by kibwen 2y ago
> it just means you have to add types to a type table -- and probably open and close scopes -- while parsing
Which is a flaw that other languages don't have to deal with, because they learned from C's mistakes. There's no justifiable reason for a language's grammar to make this sort of thing necessary. C would be better--and simpler--without it.
- jstimpfle 2y agoDid they learn? What about Java or C# then, for example? I would like to have a better syntax too but it's a tradeoff. I really want to like more algebraic syntaxes like Zig/Odin/Jai but C's terseness and ease of use for the common, simple cases is unmatched unfortunately.