r/cpp • u/According_Leopard_80 • Apr 09 '26
Writing only decoupled code
https://middleraster.github.io/DAG/HeaderOnlyNoForwardDeclarations.html
12
Upvotes
r/cpp • u/According_Leopard_80 • Apr 09 '26
View all comments
2
u/SleepyMyroslav Apr 10 '26
Amalgamation of all sources for a small project is a well known way to build it faster. I would like to see some successful code that supports the hypothesis of header only code. I don't know a game or something. I expect that what works on small sized project is not going to scale well. It might go for a while before scale will bring up issues though.