logoalt Hacker News

shoolyyesterday at 4:56 PM2 repliesview on HN

... and where does that `to_enum_string` come from exactly? It doesn't seem to be built-in, which is the point of the parent comment.


Replies

SuperV1234yesterday at 6:11 PM

It's a fair comparison. The parent comment isn't showing the compiler source code for the built-in reflection mechanisms.

You won't have to care about ^^ and [:X:] if you just want to consume reflection-based utils, which was the whole point of my comment.

show 1 reply
gpderettayesterday at 7:24 PM

The whole point of reflection is that it doesn't have to be builtin.