Earlier quoted context omitted.
The industry is cyclical and to be forward thinking all you have to do is describe what's already happened and assume it will happen again. ;-) The things being done with JavaScript today are not new, nor is the idea that a server and client would coordinate to run interactive apps. That fundamental concept has been reimplemented in many different ways until we've landed on the current rube goldbergian monstrosity th…
I agree with your basic premise. However, in this particular instance, what would have been the historical equivalent ("already happened") of scripts sent by the server to the client during the request response cycle, which could perform layout and logic in the client? If you're simply referring to code that could run on both client and server, your point is clearer to me.
Netscape and Sun Announce JavaScript (1995)
321–330 of 476 posts
Re: Netscape and Sun Announce JavaScript (1995)
#322All three HTML, JS, and CSS could have used one Lisp-like dialect.
Also, I remembered that JS was horribly misunderstood for a long time because people weren’t used to the prototypical inheritance. And this is where jQuery comes in and took JS to the next level.
Re: Netscape and Sun Announce JavaScript (1995)
#323What stands out to me is how much more foresight they had than I'd thought about the ways JS would be used: > With JavaScript, an HTML page might contain an intelligent form that performs loan payment or currency exchange calculations right on the client in response to user input. A multimedia weather forecast applet written in Java can be scripted by JavaScript to display appropriate images and sounds based on the c…
Re: Netscape and Sun Announce JavaScript (1995)
#324Earlier quoted context omitted.
How could one consider Java a scripting language? It's compiled to .class files, has no reasonable interactivity, strict structure enforced upon the code, etc. E.g. the antithesis of what makes us call something a scripting language in basically every category.
So Java Script meant "complement to Java, but converted to machine language in the browser, instead of compiled?" (Thank you, genuine question)
Java code has lots of structure required to write a minimal program. Java is transformed by compilation into a set of .class files. Then, in turn, a loader loads, resolves all the classes, and begins transforming and executing code.
These distinctions can be muddy sometimes.
Re: Netscape and Sun Announce JavaScript (1995)
#325Javascript was such a misopportunity to use Scheme instead. All three HTML, JS, and CSS could have used one Lisp-like dialect. Also, I remembered that JS was horribly misunderstood for a long time because people weren’t used to the prototypical inheritance. And this is where jQuery comes in and took JS to the next level.
Other than being aesthetically pleasing to a demographic of programmers, what would be the benefit? Modern sites already have a problem with JS being used to generate CSS and HTML, and separation of concerns being completely abandoned, and that's just created a mess where three separate, more explicit languages were simpler.
Re: Netscape and Sun Announce JavaScript (1995)
#326Earlier quoted context omitted.
Why "script" though? Aren't Java and JavaScript both script(ing languages)? Why not call it e-Java or Java XYZ or something?
This is all semantics, but the idea was that Java is a "real" language for serious use and JavaScript is a "script" that's much easier to use and doesn't involve all the complications of a "real" programming language. It was only kind of true back then, and not even remotely true now. There really isn't a solid line you can draw between a "script" and a "programming language". To me, something like Python is right in…
Additionally, explicit compilation/linking/assembly shouldn't be required for a scripting language, even if the interpreter does stuff kind of like this behind the scenes for performance.
Re: Netscape and Sun Announce JavaScript (1995)
#327Earlier quoted context omitted.
Why "script" though? Aren't Java and JavaScript both script(ing languages)? Why not call it e-Java or Java XYZ or something?
This is all semantics, but the idea was that Java is a "real" language for serious use and JavaScript is a "script" that's much easier to use and doesn't involve all the complications of a "real" programming language. It was only kind of true back then, and not even remotely true now. There really isn't a solid line you can draw between a "script" and a "programming language". To me, something like Python is right in…
Re: Netscape and Sun Announce JavaScript (1995)
#328I'm glad they added all the individual contact information at the bottom -- I'm going call up Mark Benioff at Oracle (415) 506-7000 to ask him how to download the source!
Re: Netscape and Sun Announce JavaScript (1995)
#329Earlier quoted context omitted.
How could one consider Java a scripting language? It's compiled to .class files, has no reasonable interactivity, strict structure enforced upon the code, etc. E.g. the antithesis of what makes us call something a scripting language in basically every category.
Sorry I am not an expert in Java, but doesn’t the jvm execute the .class files like bash would execute the .sh scripts.
Re: Netscape and Sun Announce JavaScript (1995)
#330Earlier quoted context omitted.
What torpedoes do you mean?
Android and ripping Sun off. Then they were hoping that no one would buy them, not even themselves cared to own Java after their trick. So now they push Kotlin, while researching Fuchsia, and keep a bunch of lawyers quite happy.