Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28622

Re: questions re Javascript

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.javascript, comp.lang.java.programmer
Subject Re: questions re Javascript
Date 2015-09-03 20:01 -0400
Organization Aioe.org NNTP Server
Message-ID <msan0e$19l$1@speranza.aioe.org> (permalink)
References <2b531f48-fff9-4c73-a116-22a3f110e919@googlegroups.com> <020920150828500988%timstreater@greenbee.net> <java-and-javascript-20150902121750@ram.dialup.fu-berlin.de>

Cross-posted to 2 groups.

Show all headers | View raw


On 9/2/2015 7:20 AM, Stefan Ram wrote:
> Tim Streater <timstreater@greenbee.net> writes:
>> Javascript has nothing to do with Java except for having a similar
>> sounding name.
>
>    There are so many similiarities between the two languages,
>    that I can't name them all. For example, in both Java and
>    JavaScript,
>
> 2 + "x"
>
>    gives »"2x"«, while in many other languages it does not.
>    In both Java and JavaScript, the modulo operator »%« can be
>    used for doubles, while in many other languages, it cannot.
>    Both have »instanceof« with a similar meaning, while other
>    languages do not. In both languages »x == x« is false, when
>    x is NaN.

If these are the criteria then a lot of languages are like Java.

>    And today, JavaScript is part of Java (the JRE), so it is
>    actually wrapped together with Java, and today JavaScript
>    can finally be used /to script Java/ out of the box.

I don't think that Java being able to execute JavaScript
tell much about whether the two languages are close.

I can not see any reason why you could not embed a JavaScript
engine in COBOL runtime.

>                                                          The
>    promise of its name is thus fulfilled. And both come from
>    the same company that also owns the trademark for both names.

No.

SUN created Java.

NetScape created JavaScript.

NetSCape got permission from SUN to use the Java prefix.

Arne

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

questions re Javascript rdelaney2001@gmail.com - 2015-09-01 15:34 -0700
  Re: questions re Javascript mentificium@gmail.com - 2015-09-01 15:58 -0700
  Re: questions re Javascript Tim Streater <timstreater@greenbee.net> - 2015-09-02 08:28 +0100
    Re: questions re Javascript "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-09-03 00:43 +0200
      Re: questions re Javascript "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-09-03 01:45 +0200
      Re: questions re Javascript Arne Vajhøj <arne@vajhoej.dk> - 2015-09-03 19:57 -0400
        Re: questions re Javascript "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-09-04 02:37 +0200
    Re: questions re Javascript Arne Vajhøj <arne@vajhoej.dk> - 2015-09-03 20:01 -0400
      Re: questions re Javascript Martin Gregorie <martin@address-in-sig.invalid> - 2015-09-04 08:46 +0000
      Re: questions re Javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-09-05 09:35 +0200
    Re: questions re Javascript Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2015-09-04 10:09 -0500
      Re: questions re Javascript Tim Streater <timstreater@greenbee.net> - 2015-09-04 16:37 +0100
        Re: questions re Javascript Tim Streater <timstreater@greenbee.net> - 2015-09-04 22:51 +0100
          Re: questions re Javascript Eternal Hope <laughingspam99@gmail.com> - 2015-09-05 20:29 +0100
      Re: questions re Javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-04 18:17 +0200
      Re: questions re Javascript Arne Vajhøj <arne@vajhoej.dk> - 2015-09-04 19:40 -0400
        Re: questions re Javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-09-05 09:47 +0200
          Re: questions re Javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-09-05 22:16 +0200
    Re: questions re Javascript Luuk <luuk@invalid.lan> - 2015-09-05 14:14 +0200
  Re: questions re Javascript Jay Braun <lyngwyst@gmail.com> - 2015-09-02 14:42 -0700
  Re: questions re Javascript Chuck Anderson <seemysig@thisis.invalid> - 2015-09-05 03:22 -0600

csiph-web