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.)

759

u/ewheck 6d ago

Richard Bellman, who inflicted DP upon us all

🤤

68

u/Proxy_PlayerHD 5d ago

I am also thankful for Display Port

183

u/ReplacementLow6704 6d ago

Ooooohhhh... THAT kind of DP

43

u/ChillyFireball 5d ago

Yeah, a double patty burger! Yum!

20

u/TrippyDe 5d ago

oof, Daddy Bellman can compile my code any day 🫦

18

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

I may or may not have phrased that intentionally… 👀

5

u/ceilingscorpion 5d ago

Didn’t call him Bell-man for nothing

79

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

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

29

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

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

13

u/KlooShanko 6d ago

The naming origin of some internal services is mind bogglingly silly

21

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

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

7

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

Sounds pretty Shaggy Defense to me

3

u/TommyBonnomi 5d ago

I've always liked "yet another thing" naming

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.

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.

3

u/ExdigguserPies 5d ago

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

1

u/allcretansareliars 5d ago

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