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

I've never been a big fan of D, but I also haven't done much with it so it's possible I would like it more if I did.

So, simple question: why D? Keep in mind that "I think it writes pretty code" is a perfectly valid answer.



I tried D after attending this talk:

https://www.youtube.com/watch?v=RlVpPstLPEc

My impression was that it strives to be a better C++ by fixing many of the annoyances and providing some well thought out convenience features, and it did a pretty good job. I thought the multiple version features and being able to write unit tests inline was especially nice.

But D came about before C++11 was a thing, and C++11 was a great ergonomic improvement over C++98. Since C++ got better, I haven't been keeping up with D.


I like how easy it is to switch between low-level and high-level code, and it has some neat features for modeling data.




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

Search: