r/learnprogramming • • Apr 05 '22

Name one programming/comp sci concept you never understood and if you understand it, try to explain it to them

Name a programming concept such as virtual functions, pointers, certain algorithms, etc that you always had a hard time understanding and why.

Someone else who reads yours and does understand it, try to explain it to them to help them learn

1.6k Upvotes

738 comments sorted by

View all comments

5

u/SlyHolmes Apr 05 '22

Pointers made me quit C++ and programming. Any chance anyone has any good resources/videos explaining them?

0

u/[deleted] Apr 05 '22

[deleted]

1

u/thetrailofthedead Apr 06 '22

I started my journey with CS50, and it actually does a great job of explaining pointers.

But then good ol' references came along and pass by value / reference parameters and now it's all jumbled up in my head when I try to remember all of the differences.

It's like a word that I once learned the correct spelling of, such as "labor". Then one day I see it spelled "labour" and even though I end up working it out in the moment, my memory of how to actually spell the word is gone forever, and I'll second guess the spelling for the rest of my life.