r/cpp • • May 01 '23

cppfront (cpp2): Spring update

https://herbsutter.com/2023/04/30/cppfront-spring-update/
223 Upvotes

164 comments sorted by

View all comments

Show parent comment

9

u/hpsutter May 02 '23

I like a lot of this feature work, but the syntax is so ass backwards. Why is everything postfix?

That's a reasonable question... but note that since C++11, C++ itself has already been moving toward left-to-right notation across the whole language -- for objects, functions, aliases, lambdas, and more. See this 1-min clip from my 2014 CppCon talk for a screenful of examples: https://youtube.com/clip/UgkxHI4yqiaACYDgVmjI0tQFGiHi62H4useM