Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To me your line of code seems a bit too clever and complicates the concept of pointers. But we all learn differently so it's cool if it flips a switch for people who are, perhaps, more philosophical than I. I tend to use more boring examples like a card catalog vs a book when I'm explaining the idea of pointers.



Why do you say its clever/complicated? The example he mentioned seems like a fairly basic example of a pointer.


well mainly because it uses a kinda abstract/poetic concept that to explain something concrete. In order to understand the example you have to understand the little puzzle about the moon & the finger as well. Maybe I do understand the saying fully - maybe I don't fully understand the depth of that saying..? Now I'm confused about both!

Also using the term moon & luna. Are they the meant to be the thing? Where was luna mentioned in the saying? Is luna representing the moon?


I agree that the buddhist saying confused me at the start..

For the moon vs luna thing: For the line to be valid, 'moon' must be a datatype in C, so it can't be the name of the variable. It also makes sense literally because moon is a generalized body orbiting a planet whereas luna refers specifically to earths moon.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: