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

Programmer Humor

19623 readers
1 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@lemmy.world 16 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!

[–] uis@lemm.ee 3 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

[–] Valmond@lemmy.world 2 points 5 months ago

C is like one big problem then :-D

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

[–] jas0n@lemmy.world 3 points 5 months ago

But it's a single problem.