from Hacker News

What people in tech had to say about JavaScript when it debuted in 1995 (2017)

by philnash on 2/23/20, 10:07 PM with 235 comments

  • by BiteCode_dev on 2/25/20, 8:09 AM

    I note that all those ecstatic quotes are from executives.

    Because the way I remember it, technical people hated it with a passion, from its design to its implementation.

    In fact, the most popular JS projects have always been to avoid writing ES5, its DOM API, or depending of one of its implementation:

    - scriptaculous: we hate even the basic types, so we monkey patch our own code into it.

    - jquery: don't use any of the language paradigms and use ones from Lisp and Haskell. Avoid "this". Don't touch the DOM. In fact, don't code, just make a few calls and pass parameters. And we rewrite the whole damn browser API to avoid incompatibilities.

    - GWT: write JS from Java.

    - underscore and co: let's rewrite typeof, the equality sign and array manipulation methods. And provide an stdib for god sake.

    - coffeescript: we like Python and ruby but must do JS.

    - React: HTML in JS now please. And magic DOM. Oh, and prototyping is horrible, lets use classes. And we strongly advice immutability, but do what you please...

    - webpack and babel: ES6 and 7 are not here yet, but ES5 is so bad we will setup an entire ecosystem dedicated to make believe they are. Also pretend import works like in other languages.

    - typescript: ok, we were wrong, ES7 is not enough. Not nearly enough. Please make intellisense works.

    Now, in 2020, JS is finally not so horrible to work with. You can use map(), () => and "..." and fake namespaces. Which is amazing to access the crazy cool plateforms that the modern browsers and the web are.

    So I guess, in a way, this quote from the AOL guy was true.

  • by aazaa on 2/24/20, 9:17 PM

    The release of JavaScript was deeply confusing to me as a developer back then. Java applets and Macromedia Flash were already touted by their vendors as the one true way forward for interactivity. The scripting language released at about the same time seemed like an oddball.

    It's easy to forget, but for years after its introduction JavaScript didn't work well. It was extremely slow, limiting the complexity of what could be built with it. There were problems galore with cross-browser compatibility of what was written. There was no reliable vector graphics or canvas system, so you really couldn't do much graphically. The DOM interface was hard to understand to be charitable. It didn't run outside of the browser, so how dare you call yourself a developer if you were using it?

    To the extent that developers knew JavaScript existed at all, it was not considered a programming language.

    These things started to change in the early 2000. So deeply ingrained with the disgust for JavaScript, that it took a very long time for the consensus to emerge that you could actually build very complex software on a post-V8 runtime.

  • by btilly on 2/24/20, 10:29 PM

    JavaScript is a fascinating example of Microsoft successfully getting a giant own goal.

    The promise of the web was cross platform applications that required no installation. Microsoft's fear was that cross platform applications would make the operating system irrelevant and reduce Windows lock-in. Both Sun (with Java) and Netscape wanted Microsoft's worst fears to happen.

    This was the era of Embrace-Extend-Extinguish. So Microsoft embraced the web and added a variety of extensions that only worked on Internet Explorer and Windows. The browser wars followed, which Microsoft resoundingly won.

    Along the way, Microsoft demonstrated the power of their browser by doing everything that they could to encourage people to write web applications that would only run on Internet Explorer. Which, of course, only ran on Windows. One of the things that they did was write web versions of Microsoft applications using various Microsoft extensions.

    One of those applications was Microsoft Outlook. Which needed to poll the server and find out if there was new mail. For that purpose they wrote the first version of the XmlHttpRequest object. This was in 1999 and they thought nothing more of it...until gmail and then Google Maps came out in 2004 and demonstrated what could be done with it.

    The next thing you know, everyone is talking AJAX. Mozilla makes the web accessible to the world. And then Google decided to throw serious energy into a better JavaScript runtime (aka V8) because they wanted to be able to write more sophisticated applications.

    And the result is that Microsoft's nightmare has now been realized. But none of it could have happened without that fateful decision to supply the missing piece for a ton of applications of having an asynchronous way to go back for more data without loading another web page.

  • by russellbeattie on 2/24/20, 10:20 PM

    I think that for consumer applications, JavaScript took a while to be really useful - like someone else noted Gmail was the first serious JS app I can think of. But for Intranets, it was pretty essential pretty quickly as web apps took over from Lotus Notes, Access databases, a million dBase applications and other proprietary front ends. And Microsoft was pushing it (and VBScript) hard in Internet Explorer under the DHTML moniker.

    In 1999 I worked on a contract for Levi's in SF and clearly remember using JavaScript to pull data from a huge hierarchy of product styles and presenting it to the end user as a widget where they could add/remove/move entries around. I remember abusing the cookies API to save the latest client state between page refreshes as it was the only real way to do that at the time. Something like this would have been a total pain in the ass without logic in the browser. In fact, I may have been replacing some sort of Java Applet or ActiveX widget which did something similar in a slower, less flexible way.

    So whether it was a huge success outside of corporations or not, I was using it to make a living pretty much from day one.

  • by jbob2000 on 2/24/20, 8:57 PM

    Ok, but what did people actually think about it? These are just quotes from high-up business people, they're trained to never say anything negative.
  • by ohazi on 2/24/20, 11:56 PM

    All of these quotes are from business/sales/marketing people, not from developers actually using the language, and about a third of the people quoted have clearly mistaken it for Java.
  • by nabla9 on 2/25/20, 12:26 AM

    JavaScript is perfect example of Worse is Better http://dreamsongs.com/WorseIsBetter.html

    Early JavaScript sucked bad. It sucked small planets.

    As PG said 2005 about Web 2.0. http://www.paulgraham.com/web20.html

    >Basically, what "Ajax" means is "Javascript now works."

  • by SoylentOrange on 2/25/20, 12:38 AM

    The article conflates “popular” with “loved”. JS is popular because it’s the only* language in which it’s possible to write browser apps and extensions. The number of people using transpilers for this purpose is minimal.

    In actual fact, most people try to avoid JS whenever possible, instead using TS or other languages that compile down to JS.

    Saying people love JavaScript because it’s the most popular is like saying people love McDonald’s because it sells the most burgers

    [*] since we don’t have Java applets or Flash apps anymore. Writing in other languages still means transpiling to JS in the end

  • by qubex on 2/24/20, 9:49 PM

    I vividly remember working on my school’s website in 1997 with Microsoft FrontPage. I had built a rather complicated system where it would be possible to arrive at the same page from several origins. Whereas most web-pages had hyperlinks or allowed the user to use the “Back” button on the browser.

    I decided I was going to have none of that amateur stuff or reliance on what is now referred to as “browser chrome” (though if the term even existed back then, I surely wasn’t aware of it).

    So I looked into this JavaScript thing, and wrote my first ever script embedded into a button:

    onclick=“javascript.history.go(-1)”

    I was so proud of myself. For about a year users of my school’s website were visibly amazed.

  • by wslh on 2/25/20, 12:07 AM

    JavaScript was used for very simple things when it was launched. Most pages used it for modifying button images when you hover or press a button, and for handling some web form operations. As others say JavaScript was very confusing, a programming language that was launched with Java in its name and to fill gaps in HTML limitations but there was no clear direction towards web app programming. Another confusing aspect was that Java was created for this purpose (to create web apps via applets).

    We should not forget Macromedia Flash, it was a very interesting option offering a better programming language but it was not an standard with an open source reference.

  • by goto11 on 2/25/20, 12:20 PM

    It is pretty clear none of them have any clue what JavaScript actually is. These are "endorsements" from "partners" trying to get on the hype train. They just want to ensure everybody that this new thing is a perfect fit for their product.

    "JavaScript allows Internet applications to easily connect to production databases such as CA-OpenIngres"

    "We plan to integrate our automatic document indexing and abstracting technology to leverage the power and functionality of JavaScript. "

    "Illustra’s unique extensible Object-Relational architecture makes it an ideal intelligent queryable store for content management applications using Java and JavaScript objects"

    "JavaScript is a great way to get cross-platform scriptable access to databases and move the resulting data into Macromedia Shockwave"

    "The creation of a general, standard scripting language for Java development will accelerate adoption of this new, exciting technology for delivering dynamic, live content to the consumer."

    You could replace "JavaScript" with "Machine Learning" or "Blockchain" in the above quotes, and they would make just as much sense.

  • by 9nGQluzmnq3M on 2/25/20, 6:49 AM

    For me the most interesting part of the article is how virtually all the influential companies being quoted have disappeared. America Online, Architex (who?), Computer Associates (haven't heard that one in a while), DEC, HP (still around but a shadow of its former self), Iconovex (?), Illustra (?), Informix (acquired by IBM), Macromedia (eaten by Adobe), Metrowerks (?), SCO, SGI, Sybase, ...
  • by xenomachina on 2/24/20, 10:47 PM

    When JavaScript first came out, it couldn't do much. Aside from toys (eg: scrolling text in the status bar) the "serious" uses were mostly:

    - (hopefully redundant) client-side validation - some styling (CSS was also brand new) - basic animation (eg: changing the on-hover appearance of stuff) - form "tweaking" (eg: disabling/hiding parts of a form dynamically based on other field values).

    It wasn't really for writing apps in, just for adding small enhancements to apps that did their real work server-side.

  • by rdiddly on 2/24/20, 9:54 PM

    Wow, apparently JavaScript was 100% great and there was nothing at all negative about it ever, according to people in tech!
  • by myhf on 2/24/20, 9:24 PM

    No printf. Less keywords than Java. Lame.
  • by billziss on 2/24/20, 10:37 PM

    I wrote my first website in 1995 and started using Javascript in 1996 (only I think it was called Livescript back then)?

    I was not impressed. On the client side I would use it for very few things and when I tried the server side version I decided that I would rather stick with Perl and CGI. Although I did not like Perl, I could get things done with it. (Oh, I just remember: also Cold Fusion!)

    My opinion of Javascript has not improved over the years. I worked with Javascript for a while and in complex enough problems that my name ended up on 2-3 patents and patent applications. I no longer work on the web, but I have occasional need for Javascript and I always hate my time with it.

    This will be an unpopular opinion, but frankly I am perplexed by its popularity, because it is neither simple nor elegant.

  • by bryanrasmussen on 2/25/20, 11:04 AM

    I wonder what Brendan Eich actually thought about it at the time, I mean he had and did do it pretty quickly. Was he actually thinking this will be really cool and people will need it or was he thinking stupid pointy haired bosses, we should use applets!

    I mean the quality he did put into it argues for he thought it was really cool, but perhaps he is so much of a craftsman he wouldn't put in less effort on something he considered to be a bad idea (unfortunately not many people have this admirable quality

  • by projektfu on 2/24/20, 10:29 PM

    I couldn't make heads nor tails of it when it debuted. But I was only 17.

    This article brings me back to a time when every product had a bunch of these "empty suit" quotes about it. The person never said that stuff, it was all written for them. I remember being on a project where marketing fluff was "said" by someone who had no idea what was going on and, besides, the product wasn't doing anything, let alone what he claimed the technology enabled it to do.

  • by cronix on 2/25/20, 5:30 AM

    I'm sure they would all love how far it's gotten. Like, on the Medium site that we're reading this on, how they help google track you with JS by using google sign on nagging you every damn time you visit to sign in with whatever account you're currently signed into google in, in any of their services.
  • by chadlavi on 2/25/20, 4:26 AM

    > “AT&T’s support for JavaScript is more than support for cool technology — it is support for an open standards process. Open standards are and will be as important to the success of the Internet as open connectivity.”

    Still true, but ironic to hear a huge telco monopoly say it.

  • by rathel on 2/24/20, 11:31 PM

    I wonder what the alternative reality could be in which browsers adopted Tcl instead.
  • by ww520 on 2/25/20, 12:24 AM

    The language Self was just released couple years before that and I thought it was the coolest language since sliced bread. Then Javascript came out and wow, it incorporated the key ideas from Self.
  • by pier25 on 2/24/20, 9:15 PM

    The GIFs are the best part
  • by cryptica on 2/25/20, 11:05 AM

    Based on those comments, it seems that a lot of vendors saw JavaScript as an integration opportunity to sell their database software. It's interesting that it didn't work out that way and JS today mostly interacts with databases via intermediary server software.
  • by davidjnelson on 2/25/20, 3:56 AM

    Lol document.write in a table in Netscape 2. Still remember my first experience with a buggy js implementation :-)

    My favorite early js story is writing a “life cycle of stars” app in 4 hours in 1997 and getting a full high school semester worth of credit for it :-)

  • by perl4ever on 2/25/20, 12:59 AM

    "“Paper Software plans to use JavaScript as the glue which lets our development partners couple Java, plug-ins, and Paper’s multi-dimensional VRML user interfaces within a distributed, online application.”"

    These quotes don't sound right. I was working for an ISP around 1995ish and telling people how to set up Trumpet WinSock and MacTCP and Internet Explorer. Java wasn't even public yet, was it? Someone wanted an interactive web page, so I used Perl and CGI.

    "JavaScript is a great way to get cross-platform scriptable access to databases and move the resulting data into Macromedia Shockwave, where it can be rendered, animated and made into live interactive multimedia for the Internet."

    Live interactive multimedia? At 3.6KB/s? I remember a T1 (24 simultaneous calls) being a big deal, now my phone seems to have about 40 times the bandwidth.

    A lot of familiar stuff came out around that general time, but it didn't spring forth fully formed. Someone was creating what would become eBay at the time too, but that doesn't mean it was a thing yet.

    Maybe these are all genuine quotes, but they feel like they are from someone who thinks of 1995, 1998, 2002, etc. as all being "a long time ago".

  • by seemslegit on 2/24/20, 10:41 PM

    Fast forward 25 years and we have three different semantics for "not a thing"
  • by ptah on 2/25/20, 11:57 AM

    It was also the scripting language for Netscape's web server
  • by tobyhinloopen on 2/24/20, 10:40 PM

    I loved building JavaScript apps when JavaScript wasn’t cool yet. (2006-2010)
  • by jackallis on 2/25/20, 12:59 AM

    This obviously lends the question, given it's criticism back in the day, which PL is the next javascript?
  • by rafaelvasco on 2/25/20, 12:49 AM

    JS was unusable for me before ES6. Hated it back then. Then ES6 came, and it finally became usable, though not great. Types are still missing, apart from several little things. There's Typescript but something native to the language would be preferable;
  • by ConcernedCoder on 2/24/20, 9:36 PM

    To be fair, I didn't start programming in JavaScript until 2000, but even back then I could see that it would be a game changer for the web.