Discuss Anything: Move Javascript From The Java Sub-category - Discuss Anything

Jump to content


Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Move Javascript From The Java Sub-category A plea for separate non-Java identity for Javascript Rate Topic: -----

#1 User is offline   k_nitin_r 

  • Privileged Member
  • PipPipPipPipPipPipPipPipPip
  • Group: Kontributors
  • Posts: 783
  • Joined: 05-May 09
  • Gender:Male
  • myCENT:59.89
  • Current Mood: Current Mood: Sleepy

Posted 29 May 2009 - 10:43 AM

Hi!

There's something off about the title of this sub-category. I mean, just try and spot the odd one out:
  • Java
  • Javascript
  • Java Servlets
  • JSP


Yes, that's right - it is Javascript. Javascript is by no means Java. It doesn't compile into Java bytecode, it isn't strictly typed, it's a whole different language! Why then is Javascript bunched together with Java, Java servlets and JSP? The only thing Javascript shares with Java is a part of the name.

In fact, if you look at the AJAX sub-category, Javascript is a part of AJAX (the 'J' in AJAX stands for Javascript). You could have the AJAX sub-category named as "Javascript and AJAX" and have this sub-category named as "Java, Java Servlets, & JSP".

If you've got any thoughts about this, feel free to post to this thread.

Regards
0


Other Replies To This Topic

#2 User is offline   inverse_bloom 

  • Oh, my beloved ice-cream bar. How I love to lick your creamy center.
  • PipPipPipPipPipPipPipPipPip
  • Group: Kontributors
  • Posts: 562
  • Joined: 15-May 09
  • Gender:Male
  • Location:Adelaide, South Australia
  • Interests:Industrial music, Silent Hill, Programing, Design, technology, Clive Barker stories, hellspawn comics, computer hardware, weight lifting, playfighting cat, funny movies, ren and stimpy.
  • myCENT:39.61
  • Current Mood: Current Mood: None Chosen

Posted 29 May 2009 - 11:27 AM

You've got a good point there, even JavaScript with HTML, XML would be an improvement. To classify JavaScript with Java is odd.

This post has been edited by inverse_bloom: 29 May 2009 - 11:29 AM

0

#3 User is offline   truefusion 

  • Coincidence is non-sequitur, therefore everything has a reason for its existence (except if they are eternal).
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • View gallery
  • Group: [MODERATOR]
  • Posts: 3,174
  • Joined: 22-June 05
  • Gender:Male
  • Location:No, not there. Not there either. Yes, you'll never figure it out.
  • Interests:God, Christianity.
  • myCENT:53.46
  • Current Mood: Current Mood: Procrastinating

Posted 29 May 2009 - 11:50 PM

View Postk_nitin_r, on May 29 2009, 06:43 AM, said:

Why then is Javascript bunched together with Java, Java servlets and JSP? The only thing Javascript shares with Java is a part of the name.

You have just answered your own question. They are not grouped together because they are of the same family; they are grouped together because they all start with the letters "Java."

View Postk_nitin_r, on May 29 2009, 06:43 AM, said:

In fact, if you look at the AJAX sub-category, Javascript is a part of AJAX (the 'J' in AJAX stands for Javascript). You could have the AJAX sub-category named as "Javascript and AJAX" and have this sub-category named as "Java, Java Servlets, & JSP".

If you've got any thoughts about this, feel free to post to this thread.

Actually, AJAX is part of JavaScript, not the other way around. Regardless, a better approach would be to make a forum called "Client-side Languages" and use that for (X)(HT)ML, CSS, JavaScript and what-have-you, not to fully give JavaScript its own forum. But that would require some forum maintenance, that is, looking through the Java* forum for all JavaScript related topics and moving them to the new forum: something i see as a bit unnecessary due to the fact that JavaScript is part of the Java* forum because it starts with "Java."
0

#4 User is offline   k_nitin_r 

  • Privileged Member
  • PipPipPipPipPipPipPipPipPip
  • Group: Kontributors
  • Posts: 783
  • Joined: 05-May 09
  • Gender:Male
  • myCENT:59.89
  • Current Mood: Current Mood: Sleepy

Posted 30 May 2009 - 05:25 AM

@truefusion

Hi!

I know I haven't convinced you yet, so I'll make another attempt in this post.

View Posttruefusion, on May 30 2009, 03:50 AM, said:

You have just answered your own question. They are not grouped together because they are of the same family; they are grouped together because they all start with the letters "Java."


What I tried to mention in my original post is that we shouldn't be grouping the languages simply due to the name. Let me form an analogy here... C++ and C# aren't usually grouped together. The C++ libraries are very different from the .NET base class libraries. C++ code is compiled into machine code while C# code is compiled into Microsoft Intermediate Language (MSIL).

The following are the differences I can state between Java and java script:

1. Syntax
We cannot use the Java syntax when writing Javascript. The similarity between Java and Javascript is the same as the similarity between C++ and PHP - they both end statements with semicolons and have squiggly brackets to indicate blocks. Among others, the easiest to notice is the use of the "function" keyword when declaring a Javascript function instead of the return type in Java. We don't have to declare variables in Javascript as we do in Java.

2. Compilation model
Java is a (partly) compiled language. The Java compiler turns the Java source code into byte code. Javascript, on the other hand, is interpreted.

3. Strict-typing vs Weak-typing
We don't declare the datatype of the variables in Javascript. The same variable can hold a reference to a number, a string containing a number, or an object.

In Java, we define the data type of variables upon declaration.


View Posttruefusion, on May 30 2009, 03:50 AM, said:

Actually, AJAX is part of JavaScript, not the other way around. Regardless, a better approach would be to make a forum called "Client-side Languages" and use that for (X)(HT)ML, CSS, JavaScript and what-have-you, not to fully give JavaScript its own forum. But that would require some forum maintenance, that is, looking through the Java* forum for all JavaScript related topics and moving them to the new forum: something i see as a bit unnecessary due to the fact that JavaScript is part of the Java* forum because it starts with "Java."


I agree with you when you say AJAX is a part of Javascript. AJAX stands for "Asynchronous Javascript and XML". AJAX only deals with the asynchronous calls to the server for additional functionality - simply performing client-side validation or improving the aesthetics of the web page with Javascript-effects isn't AJAX but it is Javscript. Since we're anyway covering a part of Javascript, we might as well discuss Javascript in its entirety.

I agree with you on the "Client-side languages" concept, though I would suggest keeping (X)HTML and CSS separate from Javascript as they are primarily related to the display/formatting of the content, while Javascript adds additional 'programmable' functionality.

I agree with you on the forum maintenance issue. It is a pain. But an alternative is to archive the current "Java*" section (stop new posts/replies) and create separate sections for Javascript and for Java-based technologies. If necessary, with some volunteering, we could move the messages from the archives to the new sections.

Regards
0

#5 User is offline   truefusion 

  • Coincidence is non-sequitur, therefore everything has a reason for its existence (except if they are eternal).
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • View gallery
  • Group: [MODERATOR]
  • Posts: 3,174
  • Joined: 22-June 05
  • Gender:Male
  • Location:No, not there. Not there either. Yes, you'll never figure it out.
  • Interests:God, Christianity.
  • myCENT:53.46
  • Current Mood: Current Mood: Procrastinating

Posted 30 May 2009 - 04:22 PM

View Postk_nitin_r, on May 30 2009, 01:25 AM, said:

I know I haven't convinced you yet, so I'll make another attempt in this post.

If you're trying to convince me, then that's work in vain. Not because i can't be convinced, but that even if i wanted to split "Java Script" from the forum's name, i'm not an administrator. Moderators do not have the ability to modify the properties of forums; we are limited to topics and posts. But this topic has been brought up in the past. Technically, all the reasons you have provided are irrelevant due to the Java* forum's naming convention. That is, as mentioned before, they are grouped together merely because of how the beginning of the words are spelled, not because they are of the same family. And even if such naming conventions may spark confusion, anyone who knows about Java and JavaScript can tell the difference between the two anyway. And chances are you won't even need the the name of the forum to start confusion: you can rely on just the name of the languages themselves for that.
0

#6 User is offline   k_nitin_r 

  • Privileged Member
  • PipPipPipPipPipPipPipPipPip
  • Group: Kontributors
  • Posts: 783
  • Joined: 05-May 09
  • Gender:Male
  • myCENT:59.89
  • Current Mood: Current Mood: Sleepy

Posted 30 May 2009 - 04:41 PM

View Posttruefusion, on May 30 2009, 08:22 PM, said:

And even if such naming conventions may spark confusion, anyone who knows about Java and JavaScript can tell the difference between the two anyway. And chances are you won't even need the the name of the forum to start confusion: you can rely on just the name of the languages themselves for that.


We can't really blame Brendan Eich for the name 'JavaScript' because he developed it for the Netscape corporation. It was named Mocha at the time. Later it was named LiveScript. Now the marketing guys back then thought along the lines that domain squatters think today so they named it after the popular Java programming language. Thus we have JavaScript.

We have a lot of terms that were 'invented' or 'hi-jacked' (for lack of a better term) by marketing staff who had a vaguely limited knowledge of the subject.

Anyway, I guess this is another thread we can consider closed :-(
0

#7 User is offline   SoundStorm 

  • Newbie [Level 2]
  • PipPip
  • Group: Kontributors
  • Posts: 34
  • Joined: 15-February 10
  • Gender:Male
  • Location:Cluj Napoca
  • Interests:Web developing with Java frameworks, music, movies, being happy :P
  • myCENT:76.72
  • Current Mood: Current Mood: None Chosen

Posted 19 February 2010 - 10:49 AM

It would be nice if there was a main category Java and inside for each area of interest like : JavaSE, JavaEE, JavaME, Servlets, JSP, Ajax, Javascript, Java frameworks, etc would be subcategories. :)
0

Share this topic:




Similar Topics Collapse

  Topic Forum Started By Stats Last Post Info
New Replies Icon Ronaldo £80m Move! NEWS-FIR shaks786 
  • 1 Reply
  • 443 Views
New Replies Icon Hi, Please Let Me Know How To Play Age Of Empires 2 Online? RPG's (Role Playing Games) sivasriram 
  • 1 Reply
  • 221 Views
*New Replies Icon @ admin: please notice General Talk Guest_Malik_* 
  • 0 Replies
  • 1,280 Views
New Replies Icon Using Sessions Instead Of Cookies, Help Please PHP Programming apple 
  • 1 Reply
  • 812 Views
New Replies Icon Bluetooth And Java Java, Java Servlets, Java Script, & JSP xboxrulz 
  • 4 Replies
  • 858 Views
New Replies Icon Attachments Creating A Floating Javascript Docking Menu Web Design kudmus 
  • 1 Reply
  • 2,067 Views
New Replies Icon Help On Mobile Please
Samsung SGH-E630
Mobility, Mobile Phones Furor 
  • 2 Replies
  • 2,393 Views
New Replies Icon Java Exectuables
how does Limewire work?
Java, Java Servlets, Java Script, & JSP Jeune 
  • 3 Replies
  • 883 Views
New Replies Icon Microsoft Antispy
spyware remover
your Secret HideOut Dodger 
  • 9 Replies
  • 2,335 Views
Hot Topic (New) Icon How Do I Completely Remove Trojan Viruses
anti-virus put them in virus vault
Computer Security Issues & Exploits lonebyrd 
  • 36 Replies
  • 7,046 Views
*New Replies Icon moved: SSL HowTo General Talk Guest_xof7_* 
  • 0 Replies
  • 1,090 Views
New Replies Icon Javascript And Internet Explorer Fix
What To Do If JS Doesn't Work In IE
Web Browsers Mencarta 
  • 6 Replies
  • 660 Views
Locked Topic Icon Ho Do You Make A Female Account On Maplestory
please help me out i have no clue
Gamers Arena freakin_twitch 
  • 4 Replies
  • 1,778 Views
New Replies Icon Tekken Sigs
Please Rate
Showoff mattmgill 
  • 2 Replies
  • 1,124 Views
Locked Topic Icon I Have 15 Posts, I Need Webhosting
Webhosting Needed, Please Read
Free Web Hosting Account request Sniper 
  • 2 Replies
  • 2,413 Views
New Replies Icon Kvc Hosting: Has Anyone Heard Of It? Please Give Some Reviews! Web Hosts Review Dak1ng 
  • 1 Reply
  • 507 Views
Locked Topic Icon Host Request
Host Request please
Free Web Hosting Account request Goosestaf 
  • 1 Reply
  • 2,745 Views
New Replies Icon Shopping Cart - Please Help
I've been searching for 12 hours
Web Design msdeeva 
  • 7 Replies
  • 1,691 Views
Locked Topic Icon Requesting Hosting
please
Free Web Hosting Account request Frosty_Flakes2 
  • 1 Reply
  • 3,146 Views
Hot Topic (New) Icon Attachments E-mail Service List
Here is short list of some E-Mail services(if you know others, please
E-Mail Zlash 
  • 18 Replies
  • 3,613 Views

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Google Fan :-) We Recommend Firefox.     Customize / Settings Connect Us on facebook