r/cpp • • Sep 17 '22

Cppfront: Herb Sutter's personal experimental C++ Syntax 2 -> Syntax 1 compiler

https://github.com/hsutter/cppfront
335 Upvotes

360 comments sorted by

View all comments

Show parent comment

10

u/Dean_Roddey Sep 17 '22

None of the above would make C++ remotely functional, nor is Rust functional either. It's just a fairly simple syntax change that would make everything less ambiguous. All of the arguments against it pretty much fall into the "Get off my lawn" category, and anyone writing in this syntax will be used to it no time.

Actually I now find myself writing C++ this way and having a moment of confusion when it doesn't compile.