Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32502
| Path | csiph.com!news.mixmin.net!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Arne Vajhøj <arne@vajhoej.dk> |
| Newsgroups | comp.lang.javascript, comp.lang.java.programmer |
| Subject | Re: questions re Javascript |
| Date | Thu, 3 Sep 2015 20:01:16 -0400 |
| Organization | Aioe.org NNTP Server |
| Lines | 44 |
| 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> |
| NNTP-Posting-Host | NIM2IeSPVd0kE3mU1mieXw.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | csiph.com comp.lang.javascript:28622 comp.lang.java.programmer:32502 |
Cross-posted to 2 groups.
Show key headers only | 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.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web