|
|
|
|
|
by rumanator
2365 days ago
|
|
> But I think the point is that namespaces functions would need to be mangled Namespaces don't need to be mangled at all if they are interpreted as symbol prefixes. I'd prefer that, say, namespace foo::bar resolved into foo_bar for all symbols (even that meant risking namespace naming collisions) to not having any support for namespaces in C. In fact, this approach is already used to implement pseudo-namespaces, so that wouldn't be much of a stretch. |
|
It seems like you want the language to be more complicated for no benefit. Why not use C++ at that point?