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

Programmer Humor

18255 readers
24 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
[–] Valmond 17 points 3 weeks 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 3 weeks ago* (last edited 3 weeks 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

[–] Valmond 2 points 3 weeks ago

C is like one big problem then :-D

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

[–] jas0n 3 points 3 weeks ago

But it's a single problem.