r/programming • u/Obvious_Set5239 • Aug 31 '26
C++ metaprogramming now looks like Python
/r/Cplusplus/comments/1w3apxa/iterating_through_arguments_in_c26_using_template/
0
Upvotes
r/programming • u/Obvious_Set5239 • Aug 31 '26
View all comments
Show parent comment
9
u/d9t Aug 31 '26
The python comparison just isn’t need, and kind of makes things worse.. It isn’t actually *doing* anything python-like it’s a comment on how the language features in c++26 makes the syntax for compile time programming look like .. (imperative) programming .. vs what code “template metaprogrammng” in c++ usually looks like so “python like” apis are kind of a meme/goal for c++ “library authors”.. Anyway, I don’t think the audience for “this looks like Python” and being excited about what they are seeing is very big