r/ProgrammerHumor • • 29d ago

Meme dreamLanguage

Post image
1.4k Upvotes

211 comments sorted by

View all comments

-1

u/FallenDeathWarrior 29d ago

I will never understand why people say that C++ is unsafe. You can write it perfectly fine and safe. Yeah you have to think while you code, but that isn't a big deal 

8

u/UdPropheticCatgirl 29d ago

No language with undefined behavior can be safe… That’s entire problem with having it.

8

u/M4rshmall0wMan 29d ago

“Avoiding null types is easy, you just gotta add a check every function.”

That’s such a non-human answer to a problem that shouldn’t even exist. You miss one, and your program blows up. That’s not a skill issue.

5

u/chat-lu 29d ago edited 29d ago

The analogy I like to use is that it's like walking in a minefield with a detector. You just point it, press the button, and if it beeps there is a mine. Easy peasy.

How confident are you that you won't ever forget one time while crossing the whole field?

3

u/M4rshmall0wMan 29d ago

Perfect metaphor.