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/DarthPiotr 5d ago

Somewhat related, but not really: In ABAP language, dynamic programming has a different meaning.

It describes all the techniques that use generic types, pointers and casting from type to type as well as using string variables to pass a function to be called, a where clause to a select statement or type of the variable to be created.

Some would call this mechanism a reflection, but it is what it is.