3 ms·
This is wrong about so many things. It presents JavaScript as only available in the browser, and therefore not able to do any file I/O (wrong). It also says t
by coreyp_1 12y ago
This is wrong about so many things.
It presents JavaScript as only available in the browser, and therefore not able to do any file I/O (wrong). It also says that Javascript doesn't run in an interpretive environment (wrong). Calling it "sequential, procedural" is misleading (asynchronous programming anybody?), and calling it "object-oriented" is definitely wrong (although OO is one style of use, it is neither required, strictly enforced, nor exclusive).
There are so many WRONG oversimplifications and subsequently flawed extrapolations that I think it's shamefully misleading about the nature of JavaScript (ECMAScript, but the author probably doesn't know the difference anyway). It's like they don't understand the distinction between a language and an implementation of the language, and they definitely do not understand the (important) nuances of the language.
JavaScript is not just Fortran that can run in a browser. It is a distinct language with distinct programming paradigms.... SO DO YOUR READERS A FAVOR AND PRESENT IT AS SUCH! You don't do them any favors by misleading them.
- savanaly 12y agoI assumed this was written back in the dark ages of javascript (way, way before node) and was presented here as a historical curiosity. I made this assumption based on their style of writing JS (make a variable called 'X'? Why not, just remember it's different than 'x'!) and because of the use case they seemed to have envisioned for it (document.writeln etc).
- cwyers 12y agoYeah, seems like it was last updated in 2005: http://www.see.ed.ac.uk/~jwp/MSO/newMSO/lab/ http://www.see.ed.ac.uk/~jwp/MSO/newMSO/lab/
- 0xdeadbeefbabe 12y agoAhem, the dark ages of javascript are here my friend.
- coreyp_1 12y agoIndeed, it is older, but server side javascript is much older than Node (http://en.wikipedia.org/wiki/JavaScript#Server-side_JavaScript http://en.wikipedia.org/wiki/JavaScript#Server-side_JavaScri...).
- elros 12y ago> JavaScript is not just Fortran that can run in a browser. It is a distinct language with distinct programming paradigms.... SO DO YOUR READERS A FAVOR AND PRESENT IT AS SUCH! You don't do them any favors by misleading them. Well, this is not a document meant to present JavaScript. It's actually quite literally meant to present JavaScript as "Fortran that can run in a browser". Here's the first sentence of the document: The purpose of these notes is to introduce JavaScript to Fortran programmers to the extent that they will be able to write programs which can do most of the less computational intensive Fortran tasks, such as those associated with PS2h.`
- deleted 12y ago[deleted]
- untog 12y agoI mean, given that it's using document.write calls I'm assuming this is many, many years old. So much of what you're talking about was correct at the time.