Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


> 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.


True. But adding a module system is a step in the direction of eventually rendering the preprocessor obsolete. Maybe C++30 :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: