News for hackers. Stuff that matters.
Re:Trying out C++20's modules with Clang and Make by hgs3 on Sunday October 15, 2023 @12:44PM (#37891256)
Separation of interface and implementation. In languages without them you must rely on documentation generators or an IDE to explore a library/packages public interface. Header files provide this separation without the need for fancy tools.
Re:Trying out C++20's modules with Clang and Make by humanrebar on Sunday October 15, 2023 @12:50PM (#37891323)
Python added pyi files in after the fact. Adoption on those is much slower than I would like.
Re:Trying out C++20's modules with Clang and Make by dureuill on Sunday October 15, 2023 @04:46PM (#37893258)
why would be using a "fancy tool" a bad thing? Headers are to be maintained manually, which is lost productivity and invite errors. The "fancy tools" can provide specialized search, formatting of the documentation, internal links, formatted and tested code examples, and of course the interface for free. In modern languages they're even part of the included tools.

I'm having a hard time seeing the downside of the "fancy tools".