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

292

u/procrastinatingcoder Apr 05 '22

It generally refers to keeping a table of previous results, and re-using those for your next calculations. It's nothing special, and I find the term "dynamic" in dynamic programming to be the most misleading thing ever personally.

157

u/[deleted] Apr 05 '22

It was deliberately misleadingly named so the researcher could continue funding or something like that.

It’s a shame as the basics are simple to grasp.

14

u/tv_head__ Apr 05 '22

Got any source ? (if you don't mind my asking)

9

u/[deleted] Apr 05 '22

https://youtu.be/OQ5jsbhAv_M in the first couple of minutes.

5

u/tv_head__ Apr 05 '22

Lol nice I also love how they still use big ass chalkboards.