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

The ideas for advancing D come thick and fast. C and C++ will never merge with D, because we have different philosophies of what makes for a great programming language.

For example, D will never have a preprocessor. Or over my dead body :-/



> For example, D will never have a preprocessor. Or over my dead body :-/

Indeed. Compile time evaluation combined with a preprocessor would make for some serious head scratching when it comes to trusting trust.


Thanks a lot for your answer, I have another one, what languages or topics do you follow for inspiration regarding concepts ?


I could spent 500% of my time studying other languages. So I don't, but the D user community isn't shy about doing that for me!


C++ is trying to eliminate the use of preprocessor. they can't get rid of it but you shouldn't use it.


I see revision after revision of Standard C++, and no progress in that direction. I (along with Andrei Alexandrescu and Herb Sutter) made a proposal to add D's static if feature to eliminate the need for #if. It was vehemently rejected.


Stroustrup has been saying that in print since 1993, and it hasn’t happened yet.




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

Search: