Live data from Hacker News

JavaScript at 20

brendaneich.github.io

201–210 of 327 posts

Re: JavaScript at 20

#201
post #25

If you haven't seen a Brendan presentation, they are quite enjoyable. Last time he was playing some zombie video game in the middle of his presentation. He insisted on not killing zombies with a shovel using instead deployable automatic turrets. I'm sure he uses the shovel when he plays alone though. Javascript's is actually growing very well and fast. It's quite surprising how soon it will have everything. In a way…

Honestly, I love JS... ES7's async/await is really nice too. But I wouldn't compare it to PHP (which I personally dislike) at all.

Re: JavaScript at 20

#202
post #8

I just wish the best language would win, not the accidentally ubiquitous one. And giving a real choice of language would been even better.

There's no such think as the best language... every language makes choices for either better performance, or ease of use. Not to mention style (more functional, more OO) and any number of other variations that are purely subjective not necessarily best.

To me, JS is one of the best languages out there. It's expressive, functional and versatile.

Re: JavaScript at 20

#203
post #170

Earlier quoted context omitted.

Yeah I liked the web better before HTTP... wat? Are you a gopher fan?

I was alluding to the recent developments leading to HTTP 2

Hmmm, my confusion might be because I'm so old that I used gopher before I used the web: it is indeed possible to browse without using HTTP.

Re: JavaScript at 20

#204
post #101

Earlier quoted context omitted.

Internet Explorer had a pretty clean API for adding extra scripting languages.

Yes, the Windows Script Host. But I don't believe two languages could very effectively talk to eachother, right? Couldn't they only really interact with the native code stuff (DOM etc.), i.e. the easy part?

It wasn't too difficult to add an interface to COM from a new language, that seemed the easiest way to call "out" to something else.

Re: JavaScript at 20

#206
post #15

Earlier quoted context omitted.

It isn't, because there is no ideal language. Seriously. Even if there was the goalposts would keep moving anyway as things like functional programming get more popular. My ideal language is one that I can use as often as possible in as many different contexts as possible. JavaScript is alright for that.

I think the ideal would be closer to the asm.js side of things than the JS side. It's nice that I can inspect the source of any page and read high-level code, but the tradeoffs aren't worth it anymore. I'd much rather have a generic (and FAST!) low-level language with lots of compilers from/to high-level languages. We sort-of have that today, with languages that compile to JS, but the reality is that 90% of the time…

Just do systems development on narrow hardware platforms, and you won't have to deal with JS at all.

I don't mean to be snarky, but the reality is that JS is the common interface available to all browsers to access internals in a consistent API. In order for anything else to come of age it would take the cooperation of at least three major browser vendors along with a decade for older deprecated versions to disappear. It's not going to happen, get over it...

JS is a pretty nice language and with sourcemaps and tooling, there are a number of other languages that target it. Evolution is happening, and fighting it is like trying to pray to your devine entity to be saved from it all.

Re: JavaScript at 20

#209

"Haters gonna hate." Anyone claiming that JS is the "worst thing to happen to the web" and/or that some other language would miraculously solve all of the problems present in JS should do the following, "Go create it." Don't whine about the barriers and how a new language would never be adopted because "JS is already everywhere." There are plenty of people already trying to solve this problem by actively doing someth…

I'm one of the people who says JavaScript is the worst thing to happen to the web, and I don't need an alternative to say that, because my issue is with what JavaScript does, not how it does it. An alternative that does the same thing wouldn't solve my complaint. I don't want a web where all my software and data is owned by other people who don't have my best interests in mind. JavaScript allows "free" websites to re…

Lots of corporations that don't have your best interest at heart write software that doesn't live on the web, in any number of languages.

Conversely, I can write open-source javascript that does something useful for you, that does not mine your data or do anything of that sort.

I don't see how this relates to javascript.

Re: JavaScript at 20

#210

Earlier quoted context omitted.

Man, python on the server and in the browser. What a world that would be.

2.7 or 3?

Why not both? Though the difference between the two is over hyped in my opinion. Most of the time its rather easy to go back and forth.
Post reply on HN