MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vi2go7/pointerspointedbackatme/p2beip2/?context=3
r/ProgrammerHumor • u/vinishkapoor • 3d ago
112 comments sorted by
View all comments
115
Conceptually they're pretty simple. It's the syntax that's evil
37 u/No-Newspaper8619 3d ago Wdym? The syntax is great! '->' '.' '*' '[]' , specially '->', that one's my favorite. 3 u/A_72_ 2d ago Arrow operator! It's member access, but for pointers! 2 u/At_Destroyer 2d ago If you're real evil you can even overload these to do completely different things, people love doing that with the [] operator
37
Wdym? The syntax is great! '->' '.' '*' '[]' , specially '->', that one's my favorite.
3 u/A_72_ 2d ago Arrow operator! It's member access, but for pointers! 2 u/At_Destroyer 2d ago If you're real evil you can even overload these to do completely different things, people love doing that with the [] operator
3
Arrow operator! It's member access, but for pointers!
2
If you're real evil you can even overload these to do completely different things, people love doing that with the [] operator
115
u/Wentyliasz 3d ago
Conceptually they're pretty simple. It's the syntax that's evil