The year is 2017 - Is the preprocessor still needed in C++?
The C++, eh C, preprocessor is wonderful.
Well, no - it isn’t wonderful.
It is a primitive text replacement tool that must be used to work with C++. But is “must” really true? Most of the usage has become obsolete thanks to new and better C++ language features. And many more features like modules will come soon™. So can we get rid of the preprocessor? And if so, how can we do it?
» read more »