this post was submitted on 08 Jun 2024
1057 points (98.5% liked)

Programmer Humor

19503 readers
1130 users here now

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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 5 months ago (2 children)

If you do C, and avoid pointers, do tell me what the point is using the language at all?

I mean if memory management is "the only way to shoot yourself in the foot" in C, then thats a quite big part of the language!

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago) (1 children)

If you do C, and avoid pointers, do tell me what the point is using the language at all?

Person is saying that C has one big footgun, while C++ has armory of them

[–] [email protected] 2 points 5 months ago

C is like one big problem then :-D

C++ lots of smaller problems: divide & conquer baby!

[–] [email protected] 3 points 5 months ago

But it's a single problem.