this post was submitted on 13 Jul 2023
674 points (96.7% liked)

Programmer Humor

32602 readers
117 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 58 points 1 year 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.

[–] [email protected] 32 points 1 year ago (1 children)

pointer pointers

wait until you learn about template templates in C++

[–] gravitas_deficiency 16 points 1 year ago

Are the templates in the room with us right now?

[–] [email protected] 19 points 1 year ago* (last edited 1 year ago)

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

[–] [email protected] 6 points 1 year 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 1 year ago* (last edited 1 year 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.