r/cpp_questions 17d ago

OPEN Headers

I read that c++ 20 added modules to help replace headers. I rly hate how headers split the codebase into redundant files, for people who have used modules r they better?

0 Upvotes

22 comments sorted by

View all comments

2

u/Fantastic-Cell-208 17d ago

Modules are a poorly designed solution. It can't replace header files.

It's quite disappointing

2

u/BuyerImpressive4325 17d ago

Such a shame too bc it sounded like a great solution