Hacker News new | ask | show | jobs
by shurcooL 3469 days ago
A single web page. My point stands, is there an equivalent page for JavaScript?
2 comments

I think JavaScript developers know how to make single web pages.

http://www.ecma-international.org/ecma-262/7.0/

But you're just trolling (and for something mediocre in the first place, sit down, he said from his lofty perch), so you should stop.

Thanks, that's very helpful!

I'm not sure what would make you think I'm trolling, because I'm not. Go was the only language I genuinely knew had a spec on a single page, and I thought other languages don't do that because it's not feasible (and the reason Go can do it is because it's much simpler and has a lot less features).

Now it's interesting to be able to compare the size of the two specs.

Other languages don't do it? What do you think C99 is? Or C++14? They're not "a single page", because they're ratified standards and so they're books and so they're PDFs, but--more importantly, who cares? Who doesn't specify their language, if they specify their language, in a single document?

Heck, why does this surprise you in the first place? Why do you think it's called ECMAscript?

https://www.safaribooksonline.com/library/view/javascript-th...

Disclaimer: you will need a login to see the whole thing.

IIRC, it's about 7 or 8 pages in the printed book.