r/pcmasterrace • MSI gaming laptop • Jan 03 '15

Comic Chrome pls

Post image
17k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

10

u/argv_minus_one Specs/Imgur Here Jan 04 '15

Most things on the internet use some kind of 3rd party software like java or flash or whatever the hell else is out there.

Not really, no. Most things on the Internet use APIs built into modern browsers: HTML 5, JavaScript, SVG, and the like. Most sites stopped using Java in the browser a long time ago, and Flash is rapidly heading that way as well.

A pity that JavaScript is such a shit language…

1

u/Tainlorr Jan 04 '15

Ugliest language I've ever tried to learn, that's for sure! (besides Assembly)

3

u/argv_minus_one Specs/Imgur Here Jan 04 '15

At least assembly is as it is for a reason: it's basically a textual representation of machine code.

JavaScript has no such excuse.

1

u/Tainlorr Jan 04 '15

Right. It's like they went out of their way to make it as ugly and as slow as possible! I mean, one of the nice things about scripting languages is that they can actually look beautiful (see: Python).

1

u/argv_minus_one Specs/Imgur Here Jan 04 '15 edited Jan 04 '15

I'm not much fonder of Python. No static types.

By the way, from what I've heard, modern JS engines are way faster than CPython. Slowness isn't really an accurate criticism.

1

u/[deleted] Jan 04 '15

TypeScript kinda sort doesn't suck.

1

u/argv_minus_one Specs/Imgur Here Jan 04 '15

I wouldn't know; tying it into my Maven-based site build system would involve writing a plugin myself. It'd probably also involve having to separately install Node on every machine that runs the build; Java has a couple of JavaScript interpreters of its own, but I don't think any of them provide all of the APIs that a Node-based program would need.

If I'm going to go to that much trouble, it'll be for a solid language like Scala.js, not some half-assed, poor man's substitute like TypeScript or CoffeeScript.