halvar ,

Don't get fooled, that's called stockholm syndrome.

ZILtoid1991 ,

Stockholm Syndrome + Sunk Cost Fallacy + some of the better languages have lackluster corporate backing and/or third party libraries

RickAstleyfounddead ,

Oh gawd I have to learn it for my grads

match OP ,
@match@pawb.social avatar

you should disagree

33550336 ,
@33550336@lemmy.world avatar

Is C++ actually that bad?

R00bot ,
@R00bot@lemmy.blahaj.zone avatar

No.

trxxruraxvr ,

Depends on your frame of reference.

RoyaltyInTraining ,
@RoyaltyInTraining@lemmy.world avatar

It's a decent language I guess. My main criticism is that the constructor paradigm just isn't well suited for RAII. I always find myself retrofitting Rust's style of object creation into my C++ code.

Vlyn ,
@Vlyn@lemmy.zip avatar

Well, there's modern C++ and it looks reasonable, so you start to think: This isn't so bad, I can work with that.

Then you join a company and you find out: They do have modern C++ code, but also half a million lines of older code that's not in the same style. So there's 5 different ways to do things and just getting a simple string suddenly has you casting classes and calling functions you have no clue about. And there's a ton of different ways to shoot your foot off without warning.

After going to C# I haven't looked back.

SmoothIsFast ,

F(c++)=1/c++

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • kbinchat
  • All magazines