this post was submitted on 13 Jul 2023
693 points (99.6% liked)

Programmer Humor

32371 readers
509 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
[–] itsJoelleScott@lemmy.world 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.

[–] AlmightySnoo@lemmy.world 32 points 1 year ago (1 children)

pointer pointers

wait until you learn about template templates in C++

Are the templates in the room with us right now?

[–] shotgun_crab@lemmy.world 19 points 1 year ago* (last edited 1 year ago)

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

[–] mediocreatbest@lemmy.sdf.org 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

[–] b1_@kbin.social 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.