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/Rote515 Apr 05 '22

It's fine to have difficulty with recursion though; recursion is overrated and often a terrible way to write code.

Fucking preach, if college was to be believed I would be writing recursive algorithms every damn day, I haven’t even seen an example of recursion in the code base I work in…(to be fair I work in a weird as fuck codebase)