3 ms·
Getting rid of the pre-processor would be a radical evolutionary step for C++. You would have a devil of a time interfacing w older code, esp. C code. At that p
by waynecochran 6y ago
Getting rid of the pre-processor would be a radical evolutionary step for C++. You would have a devil of a time interfacing w older code, esp. C code. At that point, just start using a different language altogether.
- DubiousPusher 6y ago> Getting rid of the pre-processor would be a radical evolutionary step for C++. I said nothing of the kind! Obviously, that is not tenable at this time. But it's entirely possible to add a module system by which new code can take dependencies without the cumbersome #include mechanism.
- waynecochran 6y agoTrue. But adding a module system is a step in the direction of eventually rendering the preprocessor obsolete. Maybe C++30 :)