r/ProgrammerHumor • • 7d ago

Meme dynamicProgramming

Post image
6.3k Upvotes

154 comments sorted by

View all comments

Show parent comment

1

u/-Redstoneboi- 5d ago

shiet i got the nose bit wrong

but it most definitely was supposed to be chord

1

u/SuitableDragonfly 5d ago

It wasn't "supposed to" be anything. God doesn't predestine language evolution. "Chord" originally meant "string", which has even less to do with sine waves than bosoms do. 

1

u/-Redstoneboi- 5d ago edited 5d ago

https://en.wikipedia.org/wiki/Chord_(geometry)

it's a string tied between two points on a circle

chord(theta) = 2radius * sine(theta/2)

1

u/SuitableDragonfly 5d ago

Yes, just like "sine" also has a meaning in math in the modern day, and also has a wikipedia page so it's perfectly fine to use it to mean that, and it's not "supposed to" be something else.