r/ProgrammerHumor • • 7d ago

Meme dynamicProgramming

Post image
6.3k Upvotes

153 comments sorted by

View all comments

1.5k

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

760

u/ewheck 7d ago

Richard Bellman, who inflicted DP upon us all

🤤

68

u/Proxy_PlayerHD 6d ago

I am also thankful for Display Port

183

u/ReplacementLow6704 7d ago

Ooooohhhh... THAT kind of DP

43

u/ChillyFireball 7d ago

Yeah, a double patty burger! Yum!

20

u/TrippyDe 6d ago

oof, Daddy Bellman can compile my code any day 🫦

18

u/meneldal2 6d 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.

31

u/TheFirstDogSix 6d ago

I may or may not have phrased that intentionally… 👀

5

u/ceilingscorpion 6d ago

Didn’t call him Bell-man for nothing

79

u/al3arabcoreleone 7d 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".

103

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

40

u/BufferUnderpants 7d ago

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

29

u/b__0 7d 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

6

u/scrdest 6d ago

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

13

u/KlooShanko 7d ago

The naming origin of some internal services is mind bogglingly silly

21

u/TheFirstDogSix 6d 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”. 😂

34

u/Nightmoon26 6d 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

9

u/RussiaIsBestGreen 6d ago

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

7

u/Nightmoon26 6d 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 6d ago

Sounds pretty Shaggy Defense to me

3

u/TommyBonnomi 6d ago

I've always liked "yet another thing" naming

4

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

4

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

3

u/ExdigguserPies 6d ago

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

1

u/allcretansareliars 6d ago

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