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

Show parent comments

1

u/Aggravating_Moment78 Apr 06 '22

Nope that’s actually WHY the function would call itself, because in and of itself a function calling itself is not very useful unless you are using it to solve a problem in the way described above or a similar way...

1

u/EdenStrife Apr 06 '22

This is specifically about the definition and name of the practice.

I think we can agree a wheel is still called a wheel even if it isn't actively being used.