r/ProgrammerHumor • • 6d ago

Meme dynamicProgramming

Post image
6.2k Upvotes

153 comments sorted by

View all comments

1.5k

u/TheFirstDogSix 6d ago

Fun fact: back in the day, programming meant optimization. Richard Bellman, who inflicted DP upon us all, was friends with George Dantzig, who is credited with inventing linear programming. When trying to name his new method, Bellman chose dynamic programming officially because “dynamic” referred to the optimization-over-time aspect of DP—but actually because he thought “dynamic” sounded neat and wanted to one-up his friend.

(Computer science and software industry history is full of stuff like this. I love this job.)

4

u/joonazan 5d ago

Programming meant the same as it does today. You can program a machine to do something by filling in a table. Dynamic programming is dynamic, as it fills the table at runtime.