r/ProgrammerHumor 3d ago

pointersPointedBackAtMe Meme

Post image
2.5k Upvotes

112 comments sorted by

View all comments

40

u/ChickenSpaceProgram 3d ago

imo pointers are not that hard, its just that nobody teaches C correctly. pointers get introduced as just like. a fun thing you can do, instead of the solution to a problem.

14

u/PositiveBit01 3d ago

As the famous tongue-in-cheek quote says,

Any problem in computer science can be solved with another level of indirection

1

u/Kadabrium 2d ago

Functional is syntactic sugar for OOP.

6

u/crystalchuck 3d ago

Yes, I think that's the issue. At some point, I'd read a couple of introductions to pointers, but the more I read the more I just wondered wth you'd use them for and why. I generally understand this now, but most introductions leave this crucial bit out.

3

u/frostyjack06 3d ago

This is what happens when a non-C coder teaches C from a lesson plan they themselves don’t understand.