Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rhino: Javascript for Java
#9
Re: For the people who say this forum was a mistake..

naive Wrote:Leaky, javascript and java share many relationships. As do all programming languages. An implementation of one inside the other would be a perfectly valid topic of conversation if one were so inclined.  Therefore, this forum is not inherently a 'mistake'.

The fact that this can be done in other languages also is irrelevant.

(btw, this thread was originally supposed to be humorous.. i'm not funny)

this forum is a mistake, your argument doesn't prove otherwise and yes you are right all programming languages share something in common, they instruct a computer in what to do and they have a syntax of SOME kind. what that syntax is isn't shared with all languages, neither are the common constructs like for loops and foreach loops and while loops.

java and javascript are not in any way related considering javascript is an implementation of ECMAScript and not Java, their syntax is vaguely the same but their flow is different:

java foreach
Code:
for(Object a : b) { }

JavaScript foreach
Code:
for(a in b) { }

that's actually how c# implemented foreach.

the only real syntax that's shared between java and javascript is that they both end statements with a semicolon, which by your logic makes php,perl,java,javascript,c#,c++,c and many other languages related and should be in this forum as well.

also your right, an implementation of javascript in java is a perfectly valid topic for this forum, THAT WAS MY POINT.

your original post was implying that because you can run javascript in java, this should be the "Java / JavaScript" forum, when in reality that's a stupid argment, if you want to have a topic about a javascript implementation in java then obviously you would post it in the forum related to the native language of the impementation, JAVA. my response was pointing out that. the php impementation would obviously go in a php forum and the c++ would go in c++.

Messages In This Thread
Rhino: Javascript for Java - by naive - Mar 22 2011, 10:52 AM
RE: Rhino: Javascript for Java - by xFerior - Mar 22 2011, 10:59 AM
RE: Rhino: Javascript for Java - by Eternal - Mar 22 2011, 09:27 PM
RE: Rhino: Javascript for Java - by Leaky - Mar 22 2011, 11:56 PM
RE: Rhino: Javascript for Java - by PaSS - Mar 23 2011, 02:23 AM
RE: Rhino: Javascript for Java - by Leaky - Mar 23 2011, 02:36 AM
RE: Rhino: Javascript for Java - by naive - Mar 23 2011, 03:05 AM
RE: Rhino: Javascript for Java - by PaSS - Mar 23 2011, 08:51 AM
RE: Rhino: Javascript for Java - by Leaky - Mar 25 2011, 12:20 AM
RE: Rhino: Javascript for Java - by M. Bison - Mar 25 2011, 04:09 AM
RE: Rhino: Javascript for Java - by Leaky - Mar 25 2011, 04:48 AM

Users browsing this thread: 6 Guest(s)