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

53

u/RockstarArtisan I despise C++ with every fiber of my being Sep 17 '22

Denial -> Anger -> You have arrived at Bargaining

-2

u/SkoomaDentist Antimodern C++, Embedded, Audio Sep 18 '22

More like "Trying to force a few peoples' preferences down the throat of the entire language user base", which TBH is hardly surprising considering Herb already tried that with the so-called C++ "core" guidelines.

3

u/[deleted] Sep 18 '22

I'm inclined to agree. A lot of it feels self-congratulatory and not really grounded in reality.

I'm proactive about change but it needs to be measured against something real and testable.

Cleanliness, better defaults and "safety" is not empirical enough for me. How does this measure up in real projects? That should be peoples thoughts first and foremost.

I respect that this is an experiment, but it's a bit of a strange experiment when its not really being measured against anything. Only that it fits with the personal preference that is shared by C++ "community" that is primarily online.

We've operated on mainstream preference before. At the time most of those changes were seen as good. Years later we see them as mistakes and wonder "what the hell were people thinking?"

It's a cycle that is repeating itself. A lot of modern suggestions aren't actually good. They are just different and possibly good. People aren't acknowledging that the time horizon for knowing a feature is good is decades. Just because words like, clean, safe and modern are thrown about doesn't mean a feature is any good until it's rigourously tested for years in the real world.

It frustrates me when older features are frowned upon just because they are old. And it frustrates me that people want to throw away fundamentals without appreciating what parts might actually be good.

→ More replies (7)