has JavaScript lied to us ?

3 years ago by gnuswann to c/programmer_humor

CookieJarObserver 15 points 3 years ago
path: 0 389461, hotness: undefined, score: 15, children: 2
Khalic 16 points 3 years ago

But javascript loves you undefined

path: 0 389461 390647, hotness: undefined, score: 16, children: 1
mycus 6 points 3 years ago

That's so void 0

path: 0 389461 390647 390811, hotness: undefined, score: 6, children: 0
gloriousspearfish 6 points 3 years ago

EcmaScript

path: 0 388807, hotness: undefined, score: 6, children: 2
Snowflakes42 3 points 3 years ago

LigmaScript

path: 0 388807 425036, hotness: undefined, score: 3, children: 1
ICastFist 1 point 3 years ago

ShakedatScript

path: 0 388807 425036 441192, hotness: undefined, score: 1, children: 0
sotuvieres 6 points 3 years ago

Why does it have this name though? Was it a java framework or something at some point?

path: 0 390045, hotness: undefined, score: 6, children: 10
asyncrosaurus 17 points 3 years ago

It was partly marketing, part to appease Sun Microsystems at the time, whose Java Applet product were supposed to be the true unifying web platform. Having a built-in scripting language in the browser annoyed a great many important people, who felt it undercut the importance of Java. Calling it Javascript gave the illusion that it was a smaller subset of Java, (even though it clearly isn't), while also benefiting from the more recognizable/marketable name 'Java', which was the new hottness.

path: 0 390045 392302, hotness: undefined, score: 17, children: 1
drcobaltjedi 8 points 3 years ago

I actually had a boss who thought they could let me do java at work (can't in house executables were a "security risk" according to corprate) but he ended up making me do javascript, which I don't know. I got very frustrated trying to get him to understand JS isn't java and now because of JS's weird behaviors I can't actually do the thing he wants so easily.

path: 0 390045 392302 395658, hotness: undefined, score: 8, children: 0
unwieldycat 14 points 3 years ago

It was initially called "LiveScript", but since Java applets were really popular at the time of its creation, they went with "JavaScript" instead to get attention.

path: 0 390045 390820, hotness: undefined, score: 14, children: 2
AtomicPurple 5 points 3 years ago

I didn't know this, Livescript is a waaaayyyyy better name for it. One more reason to hate Java applets I guess

path: 0 390045 390820 402922, hotness: undefined, score: 5, children: 1
ChickenLadyLovesLife 3 points 3 years ago

ActiveX >>> Java applets. This comment brought to you by the year 1997.

path: 0 390045 390820 402922 408350, hotness: undefined, score: 3, children: 0
JackbyDev 3 points 3 years ago

A detail a lot of people are missing is the absolutely massive marketing campaign Sun did for Java in the 1990s.

path: 0 390045 420314, hotness: undefined, score: 3, children: 0
mycus 2 points 3 years ago

I think it's because of the coffee beans from Java island, looks like they are popular around those dev cycles

path: 0 390045 390687, hotness: undefined, score: 2, children: 0
gnuswann 1 point 3 years ago

As far as I know, that's because Java was the world's first programming language at the time when Netscape and Brendan Eich developed JavaScript. The story of JavaScript is certainly one of the most chaotic. Very interesting story tho

path: 0 390045 390839, hotness: undefined, score: 1, children: 2
fabian 5 points 3 years ago

Java is not very much older than Javascript and at the time it was far from the world's first programming language. It probably was measured by hype in developer circles the Rust of the mid-nineties.

path: 0 390045 390839 404757, hotness: undefined, score: 5, children: 0
Khalic 1 point 3 years ago

I did javascript back in 2008 already. It was WILD

path: 0 390045 390839 391304, hotness: undefined, score: 1, children: 0
JoShmoe 3 points 3 years ago

Wow, so true. Hair and all

path: 0 639179, hotness: undefined, score: 3, children: 0
Ebuall 3 points 3 years ago

In the awkward OOP DOM interface, that is the only place in JavaScript, where you can get null, and in the outdated Date interface, that Java itself abandoned many years ago.

path: 0 404813, hotness: undefined, score: 3, children: 0
Makan 2 points 3 years ago

Yes.

path: 0 397456, hotness: undefined, score: 2, children: 0
abclop99 0 points 3 years ago

Of course

path: 0 389336, hotness: undefined, score: 0, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
33694
2569
7739

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.

go to feed...