Mar 25 2011, 12:20 AM
Re: For the people who say this forum was a mistake..
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
JavaScript foreach
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++.
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++.