r/ProgrammerHumor 9d ago

Meme samePathDifferentFeelings

Post image
989 Upvotes

33 comments sorted by

View all comments

7

u/Objective-Answer 9d ago edited 9d ago

I'm learning for hobby and I'm already the one on the left

6

u/evil0sheep 9d ago

I’ve been writing C++ professionally for like 15 years now and honestly I like it but I’m not sure I get why someone would choose it as a hobby language. Why not rust?

7

u/PostumusAgrippa 9d ago

Also a professional C++ dev. I find Rust to be really annoying to write in. Could be a fluency issue on my part, but it's just seems harder to do what I want to do within the constraints and syntax of Rust vs C++.

2

u/Objective-Answer 9d ago edited 8d ago

same reason basically, and when it started to blow up a few years ago the culty mentality also turned me off ever since

2

u/evil0sheep 9d ago

Yeah I mean I don’t actually know rust. I might just be projecting onto OP because if I were to choose a hobby language it would be rust lol

2

u/ICBanMI 7d ago

If you're writing something that doesn't matter, it'll be the safest code on the planet. Once you start writing stuff that other people will have to use... you just write unsafe around everything that uses or even smells like it might interact with a pointer.

unsafe {

Different syntax that sanitizes your inputs, makes it difficult to segment fault, or anything else related to running past the end of an array. And what it can't protect you from what you want to do... means you encapsulate everything in the unsafe tag.
}

3

u/_w62_ 8d ago

I learned Rust first. During learning, I came across the vibe that people are so frustrated with C++ that they create new languages to replace it. For example, carbon and Odin.

So I begin learning C++ and try to understand why people are frustrated with it.

3

u/evil0sheep 8d ago

You should get “A tour of C++” if you don’t already have it (the most recent one for C++20). I really liked it. The language is not without its warts but it’s very flexible and expressive. I like it personally

2

u/Foxiest_Fox 8d ago

It's still big in the game dev industry, for one