this post was submitted on 13 Jul 2023
731 points (97.0% liked)

Programmer Humor

31239 readers
1767 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] itsJoelleScott 61 points 11 months ago (4 children)

H-how did this meme clear up a confusion I have with ** pointers after all these years?

They're just pointer pointers!

Dang, that is so cool C can do that.

[–] AlmightySnoo 35 points 11 months ago (1 children)

pointer pointers

wait until you learn about template templates in C++

[–] [email protected] 15 points 11 months ago

Are the templates in the room with us right now?

[–] shotgun_crab 20 points 11 months ago* (last edited 9 months ago)

I know a guy who knows a guy who knows a guy

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

If you've never seen this before, I think it's transformative to how you read C/C++ declarations and clearer up a lot of confusion for me when I was learning.

https://cseweb.ucsd.edu/~gbournou/CSE131/rt_lt.rule.html

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

Yeah, and I'm pointing to your pointer pointer and I'm a pointer pointer pointer. Or more accurately but less funny is that I'm pointing to your pointer-to-pointer and I'm a pointer-to-pointer-to-pointer.