Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #33990
| From | Rhino <no_offline_contact@example.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: javascript |
| Date | 2016-03-16 10:51 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <ncbro6$h5j$1@dont-email.me> (permalink) |
| References | <be10265d-6a71-48b7-9fc5-06992d99b8cd@googlegroups.com> <ncbo3r$1ke$1@dont-email.me> <JavaScript-20160316151327@ram.dialup.fu-berlin.de> |
On 3/16/2016 10:14 AM, Stefan Ram wrote: > Rhino <no_offline_contact@example.com> writes: >> Despite the similarity of names, Java and Javascript are entirely >> different languages and have nothing to do with one another. > > When Brendan Eich designed JavaScript, he was told by his > superiors that the language must »look like Java«. > > Every instance of Java SE contains a JavaScript interpreter, > this means, Java can be scripted with JavaScript. > > Java and JavaScript are trademarks both owned by the same > company. > > This is a valid Java statement in Java SE: > > if( "x" instanceof String )Math.exp( 2 ); > > This is a valid JavaScript statement in Firefox: > > if( "x" instanceof String )Math.exp( 2 ); > > What is the meaning of »x has nothing to do with y«? > Would you agree with me that posts about JavaScript are off-topic in this newsgroup? That's all I was trying to say. Many people mix the two up, particularly if they have never written code in either language. I assume the OP has made the same mistake and was trying to tell him so. How would you have said it? -- Rhino
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
javascript Yogesh Sati <yogeshsati537@gmail.com> - 2016-03-16 06:35 -0700
Re: javascript Rhino <no_offline_contact@example.com> - 2016-03-16 09:49 -0400
Re: javascript Rhino <no_offline_contact@example.com> - 2016-03-16 10:51 -0400
Re: javascript Rhino <no_offline_contact@example.com> - 2016-03-16 11:43 -0400
Re: javascript Eric Douglas <e.d.programmer@gmail.com> - 2016-03-16 10:16 -0700
Re: javascript Arne Vajhøj <arne@vajhoej.dk> - 2016-03-16 20:26 -0400
Re: javascript Arne Vajhøj <arne@vajhoej.dk> - 2016-03-16 20:36 -0400
Re: javascript Arne Vajhøj <arne@vajhoej.dk> - 2016-03-16 21:28 -0400
Re: javascript Arne Vajhøj <arne@vajhoej.dk> - 2016-03-16 22:00 -0400
Re: javascript Arne Vajhøj <arne@vajhoej.dk> - 2016-03-16 22:03 -0400
csiph-web