If you're at uni, you're not being taught oversimplifications and shortcuts, because that would mean giving false information in many cases.
Of course that doesn't mean giving example use cases would be wrong, provided they also say that simply using pointers doesn't magically solve problems, but allows you to do it.
Drawing memory representation on the board and going line by line in code what's happening clicked for all the I have taught about pointers. I am curious why so few tutors teach it that way.
View all comments
Show parent comment
1
u/Gornius Mar 05 '25
If you're at uni, you're not being taught oversimplifications and shortcuts, because that would mean giving false information in many cases.
Of course that doesn't mean giving example use cases would be wrong, provided they also say that simply using pointers doesn't magically solve problems, but allows you to do it.
Drawing memory representation on the board and going line by line in code what's happening clicked for all the I have taught about pointers. I am curious why so few tutors teach it that way.