logoalt Hacker News

pjmlp05/15/20251 replyview on HN

Unfortunely like many things D, eventually C++ gets the feature, even if not as nice to use.

That is template for as part of the C++26 reflection work.

https://isocpp.org/files/papers/P2996R4.html

You will also find some well known names here,

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p34...


Replies

Doxin05/15/2025

I feel like the main problem people have with C++ is not the lack of features, but the absolute glut of slightly bad features. That's why I prefer D over C++ in any case: it's a much smaller language. You can learn enough to be dangerous in an afternoon, and enough to be proficient in a week or two.

show 1 reply