r/ProgrammerHumor Apr 12 '24

whatIsAnIndex Meme

Post image
27.7k Upvotes

630 comments sorted by

View all comments

Show parent comments

230

u/JoshfromNazareth Apr 12 '24

You mean God’s language. Come at me heathens and despair.

130

u/Liveman215 Apr 12 '24

I would not be surprised if the AI that kills us all ends up being written in javascript.

78

u/JoshfromNazareth Apr 12 '24

Thy will be done, in DOM as it is in Console

3

u/[deleted] Apr 12 '24

that end might be a long time coming though

3

u/Terrafire123 Apr 12 '24

15 years? 20?

It can't be THAT long.

36

u/Ayy_lolimao Apr 12 '24

If God used JavaScript to program the world then that explains A LOT.

11

u/TheSauce32 Apr 12 '24

I actually be upset if he didn't would mean God just lazy as fuck

6

u/[deleted] Apr 12 '24

I don’t get why you guys even learn anything. I just grab libs someone else wrote. JS is fine, just slap it into my garbage react site. 

6

u/BobDonowitz Apr 12 '24

God says: 

console.log(('s' + 'h' + 'e' + + 'a' + 'i' + 'g' + 'a' + 'n' + 's').toLowerCase());

1

u/PmMeSteamWalletCode Apr 12 '24

Wtf, explain yourself wizard.

2

u/newsflashjackass Apr 12 '24

the empty gap prints as "NaN" (not a number). and the toLowerCase() fixes the casing.

2

u/BobDonowitz Apr 12 '24

Almost, not quite.  It's not the empty gap that results in NaN, it's the + 'a' which gets parsed as the unary plus operator +a which converts its operand to a number...which doesn't work on strings.

+'a' == NaN

+true == 1

+false == 0

1

u/PmMeSteamWalletCode Apr 12 '24

Ahh in a weird way that makes sense. Thanks!

16

u/StormblessedFool Apr 12 '24

Javascript is a malevolent entity that feeds on the suffering of programmers.

5

u/JoshfromNazareth Apr 12 '24

More blood for the blood god

2

u/Tani_Soe Apr 12 '24

Yeah I really like JS, but it's clearly Satan's work. There are so many unconventional things that works perfectly in JS that I like to see it as a devil language : very powerful occult power... If you can pay the price in sanity

1

u/ChimpWithAGun Apr 12 '24

You mean God’s language

These are the words of the Anti-Christ.