by jandeboevrie on 6/22/25, 5:21 PM with 43 comments
by mystified5016 on 6/22/25, 6:29 PM
This syntax is pretty weird even by C++ standards, and it's certainly the worst way to do reflection I've personally seen. But I guess it's good that C++ is finally getting some kind of reflection. Only a few decades late to the party but hey they got there in the end.
Really as C++ grows and evolves, I feel more and more that I'd rather use plain C than wrangle with all of the bizzarro choices C++ has made. C++ is more and more often just the wrong choice of language for anything I want to do. If I need compile-time reflection, I'll use a C# program to generate C code.
by npalli on 6/22/25, 6:04 PM
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p29...
by jandrewrogers on 6/22/25, 6:19 PM
C++ does not win any prizes for being the most aesthetically pleasing programming language but the new syntax around reflection is pretty ugly even by those standards.
by 112233 on 6/22/25, 7:15 PM
by jasonthorsness on 6/22/25, 7:04 PM
by izger on 6/22/25, 7:49 PM
by MoonGhost on 6/22/25, 6:38 PM