Hacker News new | ask | show | jobs
by bluGill 1421 days ago
reflection is one of the C++'s committee's highest priority as they recognize it will solve a lot of problems people have. However they also know that details matter and so they need more time to get it right. C++ has more than enough cruft that doesn't quite fit together, there is no interest in adding more.
1 comments

Indeed. I first wrote an enum-to-string macro back in the late 80s in C, and again in the late 90s for C++. And here we are in 2022... still writing enum-to-string macros and the like.
enum-to-string should be part of CS curriculum, instead of linked lists. looks how many times people needs it!
I've needed linked list more often than enum to string over my 20+ years in industry. (both combined is less than a handful) This is mostly about what problems I've had to work on.

I think linked list taught me more useful skills than enum to string, even though I had to figure out the later on my own. Which is the important part of education, does learning things directly or indirectly help you more in the long run.