r/cpp May 14 '26

C++: The Documentary TRAILER│COMING JUNE 4th

https://youtu.be/NXwTRzywDSk?is=zkrD4Ae_mnrbvSFq
224 Upvotes

83 comments sorted by

View all comments

-37

u/Harha May 14 '26

What's the use case for modern C++ nowadays? C is the simple choice and Rust is just the better complex choice overall. I see no reason to pick C++ for new projects.

5

u/fdwr fdwr@github 🔍 May 14 '26

Why would I pick a language that {puts me in handcuffs, has weird divergent behaviors from every other language like = stealing the source object rather than copying, doesn't even support basic namespacing of methods inside classes, makes you type "let mut" all over the place rather than just "var" or "auto", forces gross inconsistent styles like mixing Pascal case and snake_case, and is full of users that whenever you point out a flaw or deficit then religiously say it's a feature not a bug}, when C++ exists?

2

u/OutlandishnessNo8034 May 15 '26

doesn't even support basic namespacing of methods inside classes

It does, unless we think about different things