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

I'm failing to see how this is relevant then. You say the issue is with macros in the first place, but then it turns out you're actually referring to other macros and have no alternative to the macro that actually created the problem. What am I missing in your reasoning?


The issue is with macros in general, and the problem is present with macros in general, even if there’s no better solution in this specific case. If someone is willing to take such drastic measures to combat the downsides of macros when they are needed, what would they be willing to do when they’re forced to use macros when they shouldn’t be needed?


The drastic measure is because of the large amount of code serde generates. The features you describe, by contrast, do not involve much code from a macro standpoint and such macros would not benefit from precompilation.

If you're complaining about something that TFA is not an example of, it's a good idea to at least provide something that is an example of it, because otherwise you're just yelling at clouds.




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

Search: