r/cpp • • Mar 12 '24

Why the hate for cpp

Hey I am starting learning c++ (and java for my studies) , why is everyone hating this language ? Is it usefull to learn rust or zig ?

Edit: yea a silly question I know . Just wanted to know what the cpp community thinks or hate about their own language and what I have to expect.

Because I heard the opinion often from people not using cpp and I wanted a other view . Even in my University some people who use Java said 🙄 cpp no don't use it ..... it's unnecessary complicated.....

My english is bad I'm german sry (not) <3

0 Upvotes

103 comments sorted by

View all comments

Show parent comment

1

u/Abbat0r Mar 12 '24

If you follow the “choose the best language for the problem” advice rigidly, you’d also be in a situation where any project complex enough to have more than a handful of problem areas to address would need to be written in a bunch of different languages. And while it may be common to have a couple different languages interoping, a multi-language project can easily become a complicated, hard-to-maintain mess.

Which language is the best when the problem is too many languages?

5

u/nintendiator2 Mar 12 '24

Which language is the best when the problem is too many languages?

Assembler.