News for hackers. Stuff that matters.
Re:I love coding in C by rumanator on Thursday December 26, 2019 @01:20PM (#21885600)
> What's the point? How is typing foo::bar better than typing foo_bar?

You're missing the whole point of namespaces. The goal is not to replace foo_bar with foo::bar. The whole point is that within a scope you can type bar instead of foo::bar, or bar instead of foo::baz::qux::bar, because you might have multiple identifiers that might share a name albeit they are expected to be distinct symbols.

https://en.wikipedia.org/wiki/Namespace

There are no comments on this comment yet.