Is there an article, blog or book that shows how to structure C++ projects in a functional way or rather non-OOP way? Most of the articles I've read just shows off the `<functional>` header isolated from context. That's cool and all, but if I end up with classes that just use the `functional` header, it's not really functional/non-OOP.
The reason why I'm asking is that, when I write C++, the very first instinct I have is to ask "Can this be represented as an object?" and most of the time, the answer is yes.
#cpp #cplusplus #programming #softwaredevelopment #functionalprogramming