r/ProgrammerHumor • • 1d ago

Meme dynamicProgramming

Post image
5.3k Upvotes

140 comments sorted by

View all comments

1.3k

u/TheFirstDogSix 1d 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.)

652

u/ewheck 1d ago

Richard Bellman, who inflicted DP upon us all

🤤

54

u/Proxy_PlayerHD 1d ago

I am also thankful for Display Port

152

u/ReplacementLow6704 1d ago

Ooooohhhh... THAT kind of DP

33

u/ChillyFireball 1d ago

Yeah, a double patty burger! Yum!

15

u/TrippyDe 1d ago

oof, Daddy Bellman can compile my code any day 🫦

12

u/meneldal2 1d ago

Maybe that's because I'm tired, I first read his name as Bellend which somehow fits a lot more with that DP thing.

27

u/TheFirstDogSix 1d ago

I may or may not have phrased that intentionally… 👀

4

u/ceilingscorpion 1d ago

Didn’t call him Bell-man for nothing

72

u/al3arabcoreleone 1d ago

I heard a diffrent story about the name being a result of financial incentives, Bellman didn't one to name it something "mathematical" because it wouldn't have received the money it did with "Dynamic programming".

96

u/clawsoon 1d ago

The story, as quoted on the Wikipedia page, starts with:

The 1950s were not good years for mathematical research. We had a very interesting gentleman in Washington named Wilson. He was Secretary of Defense, and he actually had a pathological fear and hatred of the word "research". I'm not using the term lightly; I'm using it precisely. His face would suffuse, he would turn red, and he would get violent if people used the term research in his presence. You can imagine how he felt, then, about the term mathematical.

36

u/BufferUnderpants 1d ago

His greatest and uncredited innovation was the invention of gaming research grant processes.

26

u/b__0 1d ago

People always talk about his contributions to mathematics, but I feel like his work with the Misfits and “Mother” deserves at least some recognition

4

u/scrdest 1d ago

Mother is my favourite song about teaching an Intro to DP class for CS undergrads ngl

12

u/KlooShanko 1d ago

The naming origin of some internal services is mind bogglingly silly

19

u/TheFirstDogSix 1d ago

Where I work, some TPM was asked why a certain product was named something seemingly random. He said, and I quote, “we’re not allowed to discuss that”. 😂

31

u/Nightmoon26 1d ago

I was once assured that a bug-tracking system being named "Hydra" was purely coincidental and not, in fact, a reference to the Lernaean Hydra infamous for growing two new heads every time one was cut off

8

u/RussiaIsBestGreen 1d ago

The other explanation is that they’re fans of Hydra from Marvel, which is worse.

5

u/Nightmoon26 1d ago

Thankfully, the company had a naming scheme that used ancient Greek mythology, so yeah, it was the Lernaean Hydra, but they denied it being a commentary on the nature of bugs

2

u/NewbornMuse 1d ago

Sounds pretty Shaggy Defense to me

3

u/TommyBonnomi 1d ago

I've always liked "yet another thing" naming

3

u/joonazan 1d 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.

2

u/DarthPiotr 1d 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.

2

u/ExdigguserPies 1d ago

Yeah, in school when we learned y = mx+c the module was called Linear Programming. Confusing to us all.

1

u/allcretansareliars 1d ago

I heard that it was because of a DoD grant, and he thought he could sell the idea better if it sounded cool.