1 point

This graph cuts off early. Once you learn that pointers are a trap for noobs that you should avoid outside really specific circumstances the line crosses zero and goes back into normal land.

permalink
report
reply
0 points

Pointers are great for optional references.

permalink
report
parent
reply
0 points

Compared to Assembly language, C++ is fantastic! :-P

permalink
report
reply
0 points

It’s actually a lot worse than ASM, there are far more ambiguities in C++. And yet here I am, still developing with it some 30+ years later.

Don’t worry, I’m using Rust were it makes sense.

permalink
report
parent
reply
0 points

Where does using Rust not make sense?

permalink
report
parent
reply
1 point

Hot take, C is better then C++. It really just has one unique footgun, pointers, which can be avoided most of the time. C++ has lots of (smart)pointer related footguns, each with their own rules.

permalink
report
reply
1 point

The graph goes up for me when I find my comfortable little subset of C++ but goes back down when I encounter other people’s comfortable little subset of C++ or when I find/remember another footgun I didn’t know/forgot about.

permalink
report
reply
1 point

When I became a team leader at my last job, my first priority was making a list of parts of the language we must never use because of our high reliability requirement.

permalink
report
parent
reply
1 point
*

That’s one thing that always shocks me. You can have two people writing C++ and have them both not understand what the other is writing. C++ has soo many random and contradictory design patterns, that two people can literally use it as if it were 2 separate languages.

permalink
report
parent
reply
0 points

my comfortable little subset of C++

I also have one. I call it “C”

permalink
report
parent
reply
-1 points

I like C# better. Ok, I’ll see myself out.

permalink
report
reply
1 point

More like Java#

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 7K

    Monthly active users

  • 731

    Posts

  • 11K

    Comments