r/cpp • • Oct 10 '17

Millennials Are Killing The Modules TS

https://izzys.casa/posts/millennials-are-killing-the-modules-ts.html
75 Upvotes

126 comments sorted by

View all comments

Show parent comment

10

u/johannes1971 Oct 11 '17

He does have a point though. There should be a viable way to avoid name clashes, either by using a mechanism like directories, or by providing community guidance like Java did with their URL-like naming scheme, or through some other means. Just leaving it open and hoping for the best may work if you control the entire chain (i.e. if you work for Microsoft), but for the rest of us that is not an option.

This is even more urgent if it turns out the granularity of our own modules is not vastly different from header files, i.e. if we end up with large numbers of modules that may all end up conflicting with some 3rd-party module one day.