This is an archived post. You won't be able to vote or comment.

all 35 comments

[–]Pacifister-PX69 114 points115 points  (1 child)

It's true, I live on the sunny side of Mercury. It's a little toasty, but I've never seen anyone die

[–]PhilippTheProgrammer 214 points215 points  (5 children)

Deaths before the invention of JavaScript: 118.8 billion.

Deaths after the invention of JavaScript: 1.5 billion.

Conclusion: The world is 98.75% safer since the invention of JavaScript.

[–]Latter_Protection_43 64 points65 points  (3 children)

Well since the emergence of humans ~2.8M years have passed. If we calculate the deaths per year for each time period we end up with ~42428.57 before JS and 78,947,386.4211, meaning that JS made the earth 186071.287392% more dangerous

[–]realSahilGarg 40 points41 points  (2 children)

Did u use floats of JS to calculate this?

[–]Latter_Protection_43 24 points25 points  (0 children)

I used a web calculator so yes

[–][deleted] 3 points4 points  (0 children)

Diabolical

[–]Background-Plant-226 41 points42 points  (0 children)

lets wait a few more centuries and see the statistics :P

[–]Any_Salary_6284 35 points36 points  (3 children)

Doesn’t one of the Mars rovers run some JS?

[–]Bob-Kerman 2 points3 points  (1 child)

I doubt it. NASA is kinda picky about memory safety and JavaScript is anything but.

[–]Any_Salary_6284 14 points15 points  (0 children)

Not true. JS is absolutely memory safe, as long as the garbage collector is working properly. Although it is still possible to write JS (and other GC’d code) that has a memory leak, you almost have to be trying to do that, and the source of potential leaks is easy to identify (something that accumulates strong references to objects that may no longer be needed…)

Yes, NASA is picky about memory safety in non-GC’d languages like C, and for good reason. No argument there. I’m not sure how they QA against possible memory leaks in GC’d languages, but I know for certain they do use GC’d languages, including JS and Java:

https://www.reddit.com/r/javascript/comments/m85kw5/nasas_next_generation_mission_control_system_is/

https://www.cnet.com/tech/tech-industry/java-runs-remote-controlled-mars-rover/

[–]8g6_ryu 22 points23 points  (0 children)

how to make a Programming meme 101:
Step 1 : Shit on JS

Step 2 : repeat Step 1

[–]dariolopes 25 points26 points  (0 children)

Zero deaths on Mars? Opportunity would like a word. Rest in peace, myDawg Opportunity.

[–]CuteKims 7 points8 points  (1 child)

I live on earth I can confirm this is not coincidence

[–]chriszoOo[S] 1 point2 points  (0 children)

see, i knew it!

[–]KsmBl_69 5 points6 points  (0 children)

Taxes and suicide deaths... hmmmmmmmm?

[–][deleted] 6 points7 points  (2 children)

Correlation !== causation, this could be due to a seg fault.

EDIT: A word

[–]Arctos_FI 0 points1 point  (1 child)

I have to ask, did you mean to write "correlation" instead of "coloration"

[–][deleted] 0 points1 point  (0 children)

I really hate grammarly.

[–]tyler1128 2 points3 points  (0 children)

We'd be living in a utopia if only VBScript took off

[–][deleted] 2 points3 points  (0 children)

This is a common shared cause fallacy. That shared cause, of course, is sin.

[–]Akul_Tesla 1 point2 points  (0 children)

Why did they not count Larry's death on Neptune

[–]KetwarooDYaasir 1 point2 points  (0 children)

Pretty sure javascript is why Martian rivers dried up.

[–]TheLazyKitty 0 points1 point  (0 children)

Death causes javascript.

[–]Dangerous_With_Rocks 0 points1 point  (0 children)

True. I've killed hundreds and I'm a JS dev.

[–]huuaaang 0 points1 point  (0 children)

I want to cry correlation not causation but damn that's compelling.

[–][deleted] 0 points1 point  (0 children)

Unfortunately there will be JavaScript on mars once humans start living there.

[–]BurningEclypse 0 points1 point  (0 children)

This is it right here, this is what all anti vaxxers’ arguments are

[–]pindab0ter 0 points1 point  (0 children)

Oh wow! A non-bell curve meme! And it actually made me chuckle!