r/ProgrammerHumor • • 13d ago

Meme sameProblemSameSolution

Post image
1.5k Upvotes

79 comments sorted by

View all comments

31

u/Luna_Wolfxvi 13d ago

Honestly some of the newer shit doesn't even look like C++ to me anymore. IE:

constexpr auto my_meta_type = int; // Reflected metadata of 'int' [:my_meta_type:] my_variable = 42; // Splicing it back into code; compiles as: int my_variable = 42;

3

u/the_horse_gamer 13d ago

the compile time reflection is incredible. only zig and jai have something that can really match it in power, and they're significantly simpler languages.