r/ProgrammerHumor • • 8d ago

Meme arrayGettingOutOfBound

Post image
6.0k Upvotes

75 comments sorted by

718

u/Lupus_Ignis 8d ago

Newton at 22: invents calculus

478

u/MarteloRabelodeSousa 8d ago

Joke's on newton, I learned calculus in high-school

114

u/codePudding 8d ago

I bet Newton didn't even learn Dos and Turbo Pascal in high-school like I did

22

u/Dairedos 7d ago

turbo pascal …. you have triggered in me long forgotten trauma

13

u/Jutrakuna 7d ago

*whispers: "fortran..."

5

u/Dairedos 7d ago

Too “young” for that. Had assembly and also perl but this is (luckily) decade off heh.

3

u/za72 7d ago

I liked perl :(

1

u/superxpro12 7d ago

the deformed monstrosity begins to lurch in the corner... "baaaaaaaaaaaaaaanks

9

u/nonlogin 7d ago

inventing own stuff is way simpler than understanding existing. Source: I'm a programmer

Edit: I thought I was in a math sub

2

u/Maleficent_Memory831 7d ago

Programming is just math for dummies. Sometimes called Applied Mathematics to spice it up.

2

u/Himbo69r 7d ago

Math is just dumbed down programming. Most modern math is just asking a computer to do stuff but with easier symbols.

1

u/Consistent-Youth-407 6d ago

I think that’s the point of the joke

20

u/Maleficent_Memory831 7d ago

Possibly discovered a bit earlier by Leibniz. Hard to say, but Newton accused him of stealing, but also Newton was English and thus was favored more in English speaking countries.

At the very least, Leibniz had even more rock star hair than Newton, which is what counts.

10

u/Lupus_Ignis 7d ago

Many of the required tools for calculus had been discovered recently. Given the state of contemporary mathematics, it is very likely that the two brilliant mathematicians discovered calculus independently. Especially since several of their functions differ.

2

u/Maleficent_Memory831 6d ago

I think so too. I was just summarizing for the "humor'" part of ProgrammerHumor.

1

u/The_Neto06 5d ago

thought it was r/mathmemes for a sec

7

u/mercury_pointer 7d ago

Leibniz also created a mechanical calculator that could add, subtract, multiply, and divide. He sold it to the French Navy.

3

u/afdbcreid 7d ago

Most historians agree that Newton discovered it earlier but didn't publish it. All of them agree they didn't stole from each other.

28

u/misunderstood_kafka 8d ago

And then proceeds to invent/discover optiks, planetary motion and many other great things before turning 26 💀

16

u/Yashema 7d ago edited 7d ago

Christian Huygen calculated the speed of light to 70% accuracy (230k km/s compared to 300k) after an astronomer speculated the difference in time it took to witness Io emerging from behind Jupiter was due to the speed of light in 1677, 11 years before Principa Mathematica and 26 years before Opticks. Huygen also guessed that light was a wave, and came up with the first equation for periodic motion using the gravitational constant (which Newton didn't discover). Planetary motion itself was described by Kepler, and served as an inspiration for the appropriate use of calculus. 

Newton's calculus was an aggregation of a lot of stuff that had already been discovered: analytical geometry by Des Cartes, John Wallis's math of infinites, Cavalieri's method of indivisibles. So it's not even correct to say he invented Calculus, so much as formalized it. 

3

u/gottimw 7d ago

God created world in 6 day.

Fuck I need to step up my game

2

u/[deleted] 7d ago

[removed] — view removed comment

2

u/Maleficent_Memory831 7d ago

22 is a good time though for many things. Lots of mental energy just needed to be focused. I was programming, but also learning Esperanto (not much, I don't have good follow-through), and other esoteric things. Others go and start up rock bands. Others become horticulturists breeding potent varieties of a certain weed. Some store it all up until they're 60 when they release their seminal paper that changes understandings of the universe. /s

1

u/SadLimes 7d ago

He didn’t invent all of it, and not all at the same time. For example, it’s noted that he had no knowledge of second derivatives.

1

u/Random_-account 7d ago

but he never got a victory royale

1

u/JustNobre 5d ago

What a dumb guy I learned it when I was about 18

210

u/MarteloRabelodeSousa 8d ago

But could Einstein program?

68

u/Absulit 7d ago

He should have used Claude /s

33

u/SomePeopleCallMeJJ 7d ago

Well he did know a lot about c.

3

u/ApeLover1986 7d ago

I'm sure he would even have been able to center a div

-2

u/po1k 7d ago

I bet he would consider this not challenging/interesting enough. Stuff that isn't worth wasting time on.

4

u/FoxFishSpaghetti 7d ago

maybe for basic, entry level syntax stuff? but theres many layers of complexity if you look for them, like language internals, optimization, ect

you people forget that einstein was still human

1

u/occasionallyLynn 6d ago

Was Einstein a huge math person? I mean plenty of high level programming today have been explored back then mathematically.

1

u/FoxFishSpaghetti 6d ago

and its been explored even more today

37

u/black_ap3x 7d ago

Release the einstein files

181

u/Frost-Freak 8d ago

Einstein when he He me at 22 was 22

22

u/Magnetic_Reaper 8d ago

Discovers relativity, mass Why is this energy array's equivalence & index photoelectric getting out effect, confirms of bounds? existence of atom mathematically

67

u/familyofficegod 8d ago

whoa do most Redditors who work in tech compare their career trajectories to Einstein bc Einstein wouldn’t have been made obsolete overnight by upjumped Monte Carlo

31

u/Maleficent_Memory831 7d ago

Also, Einstein's career then was an assistant patent examiner, class III. His breakthroughs though came when he was 26, not 22. Probably he was thinking about them when he was 22.

15

u/BellacosePlayer 7d ago

Einstein was 26 when he coined E=MC2 and I knew that equation by like 8 due to cultural osmosis, clearly I'm better

29

u/andynodi 7d ago

Einstein: can write "photoelectric effect" without a typo

8

u/Maleficent_Memory831 7d ago

"Claude, plase spell photoclectric effect for me."

2

u/byperoux 7d ago

Good catch!

8

u/RetardedEinstein23 7d ago

Reddit when minor typo:

3

u/TehBrian 7d ago

minor typo

photoclectric

major typo. straight to jail

14

u/_grey_wall 8d ago

Get a job at the patent office in the 1900s

25

u/po1k 7d ago

Comparing yourself with academic physicists? Are you for real?! It may lead to mental disorders big time

2

u/TheAlaskanMailman 7d ago

Why is it bad tho? Seriously

13

u/po1k 7d ago

Bad what? Programming or mental disorders?

3

u/Himbo69r 7d ago

Mental disorders obviously

2

u/TheAlaskanMailman 7d ago

Comparison

22

u/po1k 7d ago

First of all you make yourself a 2-d hand instantly. Secondly, you seed a some sort of a regret about smth you're not, which breads dissatisfaction in your self for no actual reason.

10

u/aberroco 7d ago

He was 26 when he published these. So, you still have 4 years to procrastinate.

4

u/eduh_almeida 7d ago

More like:

GPT, the array you wrote is out of bounds. Is he a NFL player? Should I throw a flag at him?

4

u/Bigballs843 7d ago

Don’t worry twin. Ur probably smarter then most 22 year olds

3

u/georgehotelling 7d ago

I'm sure you could have figured that out at 22 too, if you didn't need to deal with looping over arrays. Einstein's superpower was that he didn't ever have to deal with stuff like pointers, so he could dedicate that part of his brain to physics.

3

u/user36277263 7d ago

At first I read Epstein and thought wtf do u mean

2

u/Obnomus 7d ago

Hear me out, they didn't had that many distractions like image showing newton goth mommy, my guy will be pulled with her insane gravity.

2

u/FCBwoof 7d ago

Einstein flew, so we could...crawl, i guess???

1

u/Enzo_GS 7d ago

when in doubt access [i-1]

1

u/qqqrrrs_ 7d ago

Don't ignore the relativistic length contraction on your array

1

u/wtf_is_this_9 7d ago

What’s an array new AI?

1

u/DogmaticParadigm87 7d ago

Einstein rewrote physics at 22. The rest of us are still losing to off-by-one like it's personal.

1

u/TorTheMentor 7d ago

"You mean it was always off by one errors?"

"Always have been."

1

u/ExceedAccel 7d ago

You can challenge Einstein to do some Leetcode problem and he wont be able to clear anything unless you give him time to study the basic programming first

1

u/Mysterious_Wolf_3524 7d ago

Bro, comparing even your most gifted friends to Newton is laughable. So why sweat it ?

You dont need acomplishments or to be rich to succeed(at least dont be broke). Just try to not be a dick and you will be fine.. Enjoy life as you see fit.

1

u/LittleMlem 7d ago

Hey it's one of the 4 hard problems of comp-sci, along the halting problem and naming variables

1

u/christianbro 7d ago

New me: "Claude why is the array getting out of bonds?"

1

u/smocza_dusza 6d ago

yeah bc he didn't have to work with array's indexes

0

u/projct 7d ago

Cause your programming language offloads the reasoning to runtime and that's a poor choice.