3 ms·
https://news.ycombinator.com/item?id=23656173 https://news.ycombinator.com/item?id=23656173
by cryptonector 6y ago
https://news.ycombinator.com/item?id=23656173 https://news.ycombinator.com/item?id=23656173
- k__ 6y agoAre these also issues for languages like Go and Rust?
- cryptonector 6y agoNo, not for Rust, and not for Goland, IIRC. The reason is that they have proper namespacing functionality in the language, and generally modern languages record dependency metadata in the direct dependents. This is strictly a C problem.
- pjmlp 6y agoAnd the worse part is that other system languages back in the day (PL/I, Algol, Mesa and Pascal variants) already had some form of namespacing support.
- kccqzy 6y agoOf course not. It's not even a problem for C++ if you use namespaces pervasively. This is purely support for C.