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

3

u/Nerdz2300 Apr 05 '22

Pointers. I still dont understand them. They are used a fair amount in embedded code as well. I just dont get it.

Also unions (not the labor kind).

2

u/ExtraFig6 Apr 06 '22

Are you familiar with RAM and memory addresses?

1

u/Nerdz2300 Apr 06 '22

Not really, I mean, the compiler takes care of that for me I thought. On the micro level I know how they work, but not on the macro level between compiler and hardware.

1

u/ExtraFig6 Apr 06 '22

Are you familiar with how this relates to pointers?

→ More replies (2)