r/ProgrammerHumor • • Oct 12 '26

Meme arrayGettingOutOfBound

Post image
6.0k Upvotes

75 comments sorted by

718

u/Lupus_Ignis Oct 12 '26

Newton at 22: invents calculus

480

u/MarteloRabelodeSousa Oct 12 '26

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

112

u/codePudding Oct 12 '26

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

22

u/Dairedos Oct 12 '26

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

12

u/Jutrakuna Oct 12 '26

*whispers: "fortran..."

→ More replies (3)

11

u/nonlogin Oct 12 '26

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

Edit: I thought I was in a math sub

→ More replies (3)

20

u/Maleficent_Memory831 Oct 12 '26

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.

9

u/Lupus_Ignis Oct 13 '26

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 Oct 13 '26

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

→ More replies (1)

7

u/mercury_pointer Oct 12 '26

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

4

u/afdbcreid Oct 13 '26

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

32

u/misunderstood_kafka Oct 12 '26

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

16

u/Yashema Oct 12 '26 edited Oct 12 '26

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. 

4

u/gottimw Oct 13 '26

God created world in 6 day.

Fuck I need to step up my game

1

u/SadLimes Oct 13 '26

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 Oct 13 '26

but he never got a victory royale

1

u/JustNobre Oct 15 '26

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

2

u/[deleted] Oct 12 '26

[removed] — view removed comment

2

u/Maleficent_Memory831 Oct 12 '26

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

210

u/MarteloRabelodeSousa Oct 12 '26 • Mindblown

But could Einstein program?

69

u/Absulit Oct 12 '26

He should have used Claude /s

37

u/SomePeopleCallMeJJ Oct 12 '26

Well he did know a lot about c.

3

u/ApeLover1986 Oct 13 '26

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

-1

u/po1k Oct 12 '26

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

5

u/FoxFishSpaghetti Oct 13 '26

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

→ More replies (2)

36

u/black_ap3x Oct 12 '26

Release the einstein files

70

u/familyofficegod Oct 12 '26

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 Oct 12 '26

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 Oct 13 '26

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

180

u/Frost-Freak Oct 12 '26

Einstein when he He me at 22 was 22

22

u/Magnetic_Reaper Oct 12 '26

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

28

u/andynodi Oct 12 '26

Einstein: can write "photoelectric effect" without a typo

8

u/Maleficent_Memory831 Oct 12 '26

"Claude, plase spell photoclectric effect for me."

2

u/byperoux Oct 12 '26

Good catch!

7

u/RetardedEinstein23 Oct 12 '26

Reddit when minor typo:

3

u/TehBrian Oct 12 '26

minor typo

photoclectric

major typo. straight to jail

16

u/_grey_wall Oct 12 '26

Get a job at the patent office in the 1900s

10

u/aberroco Oct 12 '26

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

25

u/po1k Oct 12 '26

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

2

u/TheAlaskanMailman Oct 12 '26

Why is it bad tho? Seriously

12

u/po1k Oct 12 '26

Bad what? Programming or mental disorders?

3

u/Himbo69r Oct 12 '26

Mental disorders obviously

2

u/TheAlaskanMailman Oct 12 '26

Comparison

21

u/po1k Oct 12 '26

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.

4

u/Bigballs843 Oct 12 '26

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

3

u/georgehotelling Oct 12 '26

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 Oct 12 '26

At first I read Epstein and thought wtf do u mean

2

u/FCBwoof Oct 13 '26

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

1

u/Enzo_GS Oct 12 '26

when in doubt access [i-1]

1

u/qqqrrrs_ Oct 12 '26

Don't ignore the relativistic length contraction on your array

1

u/wtf_is_this_9 Oct 12 '26

What’s an array new AI?

1

u/DogmaticParadigm87 Oct 12 '26

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

1

u/TorTheMentor Oct 12 '26

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

"Always have been."

1

u/ExceedAccel Oct 13 '26

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 Oct 13 '26

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 Oct 13 '26

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

1

u/christianbro Oct 13 '26

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

1

u/smocza_dusza Oct 13 '26

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

2

u/Obnomus Oct 13 '26

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.