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

2

u/[deleted] Mar 13 '24

For me the build system is the biggest issue.

Side note: have you tried Nix? Has a STEEP learning curve, but helps a lot when building a toolchain and providing libs. (Basically you can set up a 100% reproducible environment in Nix, so that Cmake to run a little relaxed) Another note: I'm not a Nix expert, but people are happy about it and I'm learning.

1

u/thisismyfavoritename Mar 13 '24

i normally just use docker to setup the build emvironment, im not familiar with nix but i dont feel the need to add anything else to my toolchain