News for hackers. Stuff that matters.
Re:C++ Modules Might Be Dead-On-Arrival by ben-schaaf on Monday January 28, 2019 @04:33AM (#19016189)
D also has package.d for the same effect as python. It works quite well as package is a keyword and thus can't be used as a regular module anyway.
Re:C++ Modules Might Be Dead-On-Arrival by p0nce on Monday January 28, 2019 @09:07AM (#19017480)
But package.d could lead you to overdepend on too many modules too :) it's mostly great for end applications rather than internal to libraries.
Re:C++ Modules Might Be Dead-On-Arrival by ben-schaaf on Monday January 28, 2019 @09:46AM (#19017745)
Sure, but that's not specific to package.d. See the earlier convention of all.d or d.d. That's the trade-off with having public imports. I don't see how this is related to my comment though?