I don't think that 'cpp core guidelines' recommends a single header.
So yes, the first concept would be 'divide and conquer'. Therefore namespace are invented. For instance if you want to do something with a printer you create a namespace printer and put everthing that has to do with a printer in this namespace.
Another step would be minimal dependency. Rather create an intermediate object which manages the input to the printer then pollute the printer interface with input specific stuff.
There is surely nothing wrong with library components. That makes it even more important to keep your interface clean.
you will write many many lines of code shared among many colleagues. How would you manage the complexity of your future projects?
natural consequence is that those "many lines of code" have to form a reusable component, whether you call it "library" or "unit of release" or whatever.
And in order to be reusable, it has to be independently-testable, under assumption that the components used by the one under test are themselves tested. And from that follows a hierarchy of components/libraries/etc. A hierarchy that better be a DAG, with no cycles.
Another thing I prefer is to to have many small libraries with few dependencies instead of big libraries with a lot of dependencies (especially external ones).
I think you have this backwards. The more libraries you have, the more dependencies you get.
Think about it. You compile your program. You link with 25 libraries. You get
Error: undefined symbol FurryKoalaBear
You have 87 additional libraries. In which one is FurryKoalaBear defined? You hunt for an hour, only to find that it's in one of the libraries you're already linking against! Dang. But it's defined in lib22.so and you refer to it in lib19.so and lib22 comes before lib19 in the link line. No problem. change the order.
Uh oh. Now 121 symbols are undefined. Something about that order is wrong....
In contrast, if you had just a few libraries, you could let the linker sort it all out for you.
Peter87, so? Perhaps it's a bit suspicious, but that thread is only 5 days old. That is not proof of spam, perhaps he wanted to get another community's eyes on it. Web links in their profile is a big red flag for me if something looks like it's a spam account.
Edit: I see now that this is not the only instance of this happening. You are probably correct in that it was a spammer.
I edited my previous post. You're probably correct. If it were just one instance of it, I would have given it the benefit of the doubt, but you showed that it was two threads copied from Reddit, each by different authors.
That is not proof of spam, perhaps he wanted to get another community's eyes on it.
The OP had made four posts. All were exact copies of reddit posts by four different authors. His oldest post contained a spam link. That was enough evidence for me.